MMBase

Using <mm:fieldinfo type="searchinput" /> on reldef, typerel and objecttype may result in field not found

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.5
  • Fix Version/s: 1.9.6
  • Component/s: Taglib
  • Description:
    Hide
    For example my_editors/index.jsp?ntype=typedef
    Somewhere searchinput fails and tries to find a existing field that not exists in builder typedef.

    2012-02-03 10:14:59,566 ERROR [/edit].[jsp] invoke.253 - Servlet.service() for servlet jsp threw exception
    java.lang.IllegalArgumentException: You cannot use non-existing field 'url' of node '33592' existing fields of 'typedef' are [_exists, config, _resolved, owner, _number, description, name, otype, number, security_context]
    at org.mmbase.module.core.MMObjectNode.checkFieldExistance(MMObjectNode.java:575)
    at org.mmbase.module.core.MMObjectNode.getValue(MMObjectNode.java:945)
    at org.mmbase.module.core.MMObjectNode.getStringValue(MMObjectNode.java:967)
    at org.mmbase.bridge.implementation.BasicNode.getStringValue(BasicNode.java:484)
    at org.mmbase.util.functions.PatternNodeFunctionProvider$PatternNodeFunction.getFunctionValue(PatternNodeFunctionProvider.java:193)
    at org.mmbase.util.functions.PatternNodeFunctionProvider$PatternNodeFunction.getFunctionValue(PatternNodeFunctionProvider.java:163)
    at org.mmbase.util.functions.NodeFunction.getFunctionValue(NodeFunction.java:138)
    at org.mmbase.util.functions.WrappedFunction.getFunctionValue(WrappedFunction.java:38)
    at org.mmbase.util.functions.NodeFunction$1.getFunctionValue(NodeFunction.java:165)
    at org.mmbase.util.functions.WrappedFunction.getFunctionValue(WrappedFunction.java:38)
    at org.mmbase.bridge.util.AbstractNode$3.getFunctionValue(AbstractNode.java:844)
    at org.mmbase.util.LocalizedEntryListFactory$3$1$1$1.get(LocalizedEntryListFactory.java:504)
    at org.mmbase.util.LocalizedEntryListFactory$3$1$1$1.toString(LocalizedEntryListFactory.java:522)
    at org.mmbase.util.LocalizedEntryListFactory$1$1.get(LocalizedEntryListFactory.java:257)
    at org.mmbase.util.LocalizedEntryListFactory$1$1.next(LocalizedEntryListFactory.java:262)
    at org.mmbase.util.LocalizedEntryListFactory$1$1.next(LocalizedEntryListFactory.java:248)
    at org.mmbase.datatypes.BasicDataType$RestrictedEnumerationIterator.determineNext(BasicDataType.java:1635)
    at org.mmbase.datatypes.BasicDataType$RestrictedEnumerationIterator.next(BasicDataType.java:1673)
    at org.mmbase.datatypes.BasicDataType$RestrictedEnumerationIterator.next(BasicDataType.java:1615)
    at org.mmbase.bridge.jsp.taglib.typehandler.EnumHandler.convertToValidate(EnumHandler.java:153)
    at org.mmbase.bridge.jsp.taglib.typehandler.EnumHandler.htmlInput(EnumHandler.java:180)
    at org.mmbase.bridge.jsp.taglib.typehandler.AbstractTypeHandler.htmlInput(AbstractTypeHandler.java:216)
    at org.mmbase.bridge.jsp.taglib.typehandler.NodeHandler.htmlInput(NodeHandler.java:159)
    at org.mmbase.bridge.jsp.taglib.FieldInfoTag.htmlInput(FieldInfoTag.java:574)
    at org.mmbase.bridge.jsp.taglib.FieldInfoTag.doStartTag(FieldInfoTag.java:484)
    at org.apache.jsp.mmbase.edit.my_005feditors.index_jsp._jspx_meth_mm_005ffieldinfo_005f3(index_jsp.java:3115)
    at org.apache.jsp.mmbase.edit.my_005feditors.index_jsp._jspx_meth_mm_005ffieldlist_005f1(index_jsp.java:3024)
    at org.apache.jsp.mmbase.edit.my_005feditors.index_jsp._jspx_meth_mm_005fpresent_005f4(index_jsp.java:2911)
    at org.apache.jsp.mmbase.edit.my_005feditors.index_jsp._jspx_meth_mm_005fcompare_005f5(index_jsp.java:2847)
    at org.apache.jsp.mmbase.edit.my_005feditors.index_jsp._jspx_meth_mm_005fpresent_005f3(index_jsp.java:2788)
    at org.apache.jsp.mmbase.edit.my_005feditors.index_jsp._jspService(index_jsp.java:788)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.mmbase.framework.FrameworkFilter.doFilter(FrameworkFilter.java:197)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
    at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    at java.lang.Thread.run(Thread.java:595)
    Show
    For example my_editors/index.jsp?ntype=typedef Somewhere searchinput fails and tries to find a existing field that not exists in builder typedef. 2012-02-03 10:14:59,566 ERROR [/edit].[jsp] invoke.253 - Servlet.service() for servlet jsp threw exception java.lang.IllegalArgumentException: You cannot use non-existing field 'url' of node '33592' existing fields of 'typedef' are [_exists, config, _resolved, owner, _number, description, name, otype, number, security_context] at org.mmbase.module.core.MMObjectNode.checkFieldExistance(MMObjectNode.java:575) at org.mmbase.module.core.MMObjectNode.getValue(MMObjectNode.java:945) at org.mmbase.module.core.MMObjectNode.getStringValue(MMObjectNode.java:967) at org.mmbase.bridge.implementation.BasicNode.getStringValue(BasicNode.java:484) at org.mmbase.util.functions.PatternNodeFunctionProvider$PatternNodeFunction.getFunctionValue(PatternNodeFunctionProvider.java:193) at org.mmbase.util.functions.PatternNodeFunctionProvider$PatternNodeFunction.getFunctionValue(PatternNodeFunctionProvider.java:163) at org.mmbase.util.functions.NodeFunction.getFunctionValue(NodeFunction.java:138) at org.mmbase.util.functions.WrappedFunction.getFunctionValue(WrappedFunction.java:38) at org.mmbase.util.functions.NodeFunction$1.getFunctionValue(NodeFunction.java:165) at org.mmbase.util.functions.WrappedFunction.getFunctionValue(WrappedFunction.java:38) at org.mmbase.bridge.util.AbstractNode$3.getFunctionValue(AbstractNode.java:844) at org.mmbase.util.LocalizedEntryListFactory$3$1$1$1.get(LocalizedEntryListFactory.java:504) at org.mmbase.util.LocalizedEntryListFactory$3$1$1$1.toString(LocalizedEntryListFactory.java:522) at org.mmbase.util.LocalizedEntryListFactory$1$1.get(LocalizedEntryListFactory.java:257) at org.mmbase.util.LocalizedEntryListFactory$1$1.next(LocalizedEntryListFactory.java:262) at org.mmbase.util.LocalizedEntryListFactory$1$1.next(LocalizedEntryListFactory.java:248) at org.mmbase.datatypes.BasicDataType$RestrictedEnumerationIterator.determineNext(BasicDataType.java:1635) at org.mmbase.datatypes.BasicDataType$RestrictedEnumerationIterator.next(BasicDataType.java:1673) at org.mmbase.datatypes.BasicDataType$RestrictedEnumerationIterator.next(BasicDataType.java:1615) at org.mmbase.bridge.jsp.taglib.typehandler.EnumHandler.convertToValidate(EnumHandler.java:153) at org.mmbase.bridge.jsp.taglib.typehandler.EnumHandler.htmlInput(EnumHandler.java:180) at org.mmbase.bridge.jsp.taglib.typehandler.AbstractTypeHandler.htmlInput(AbstractTypeHandler.java:216) at org.mmbase.bridge.jsp.taglib.typehandler.NodeHandler.htmlInput(NodeHandler.java:159) at org.mmbase.bridge.jsp.taglib.FieldInfoTag.htmlInput(FieldInfoTag.java:574) at org.mmbase.bridge.jsp.taglib.FieldInfoTag.doStartTag(FieldInfoTag.java:484) at org.apache.jsp.mmbase.edit.my_005feditors.index_jsp._jspx_meth_mm_005ffieldinfo_005f3(index_jsp.java:3115) at org.apache.jsp.mmbase.edit.my_005feditors.index_jsp._jspx_meth_mm_005ffieldlist_005f1(index_jsp.java:3024) at org.apache.jsp.mmbase.edit.my_005feditors.index_jsp._jspx_meth_mm_005fpresent_005f4(index_jsp.java:2911) at org.apache.jsp.mmbase.edit.my_005feditors.index_jsp._jspx_meth_mm_005fcompare_005f5(index_jsp.java:2847) at org.apache.jsp.mmbase.edit.my_005feditors.index_jsp._jspx_meth_mm_005fpresent_005f3(index_jsp.java:2788) at org.apache.jsp.mmbase.edit.my_005feditors.index_jsp._jspService(index_jsp.java:788) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.mmbase.framework.FrameworkFilter.doFilter(FrameworkFilter.java:197) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:595)

Activity

People

Dates

  • Created:
    2012-02-03 10:45
    Updated:
    2012-05-29 19:14
    Resolved:
    2012-05-29 19:14