[ https://issues.apache.org/jira/browse/OFBIZ-6643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14902292#comment-14902292 ]
Jacques Le Roux commented on OFBIZ-6643: ---------------------------------------- I created OFBIZ-6650 for that > Order items for GZ-1006-5 via ecommerce/ordermgr shows error > ------------------------------------------------------------ > > Key: OFBIZ-6643 > URL: https://issues.apache.org/jira/browse/OFBIZ-6643 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: Trunk > Reporter: Pierre Smits > Assignee: Jacques Le Roux > Priority: Critical > Labels: ecommerce > Fix For: Upcoming Branch > > Attachments: OFBIZ-6643-orderitems.ftl.patch > > > When an order is entered via the ecommerce component for a GZ-1006-5 an error > is shown in the order items section. See error below. > {code} > GZ-2644 - Round Gizmo > FreeMarker template error: Java method > "org.ofbiz.entity.GenericDelegator.findByAnd(String, Map, List, boolean)" > takes 4 arguments, but 2 was given. ---- FTL stack trace ("~" means > nesting-related): - Failed at: #assign downloadContents = delegator... [in > template "component://order/webapp/ordermgr/order/orderitems.ftl" at line 84, > column 41] ---- Java stack trace (for programmers): ---- > freemarker.core._TemplateModelException: [... Exception message was already > printed; see it above ...] at > freemarker.ext.beans.SimpleMethod.unwrapArguments(SimpleMethod.java:67) at > freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:72) at > freemarker.core.MethodCall._eval(MethodCall.java:62) at > freemarker.core.Expression.eval(Expression.java:78) at > freemarker.core.Assignment.accept(Assignment.java:70) at > freemarker.core.Environment.visit(Environment.java:312) at > freemarker.core.MixedContent.accept(MixedContent.java:62) at > freemarker.core.Environment.visitByHiddingParent(Environment.java:333) at > freemarker.core.IfBlock.accept(IfBlock.java:48) at > freemarker.core.Environment.visit(Environment.java:312) at > freemarker.core.MixedContent.accept(MixedContent.java:62) at > freemarker.core.Environment.visitByHiddingParent(Environment.java:333) at > freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:148) at > freemarker.core.Environment.visitIteratorBlock(Environment.java:559) at > freemarker.core.IteratorBlock.accept(IteratorBlock.java:67) at > freemarker.core.Environment.visit(Environment.java:312) at > freemarker.core.MixedContent.accept(MixedContent.java:62) at > freemarker.core.Environment.visitByHiddingParent(Environment.java:333) at > freemarker.core.IfBlock.accept(IfBlock.java:48) at > freemarker.core.Environment.visit(Environment.java:312) at > freemarker.core.MixedContent.accept(MixedContent.java:62) at > freemarker.core.Environment.visitByHiddingParent(Environment.java:333) at > freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:48) at > freemarker.core.Environment.visit(Environment.java:312) at > freemarker.core.MixedContent.accept(MixedContent.java:62) at > freemarker.core.Environment.visit(Environment.java:312) at > freemarker.core.Environment.process(Environment.java:290) at > org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:257) > at org.ofbiz.widget.model.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:167) > at > org.ofbiz.widget.model.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:216) > at org.ofbiz.widget.model.HtmlWidget.renderWidgetString(HtmlWidget.java:140) > at > org.ofbiz.widget.model.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:1319) > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > at > org.ofbiz.widget.model.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:906) > at > org.ofbiz.widget.model.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:127) > at > org.ofbiz.widget.model.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:943) > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > at > org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > at > org.ofbiz.widget.model.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:906) > at > org.ofbiz.widget.model.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:127) > at > org.ofbiz.widget.model.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:943) > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > at > org.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:459) > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > at > org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > at > org.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:459) > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > at > org.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:459) > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > at > org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) > at > org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) > at > org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:211) > at > org.ofbiz.widget.model.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:780) > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > at > org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) > at > org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) > at > org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:211) > at > org.ofbiz.widget.model.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:780) > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > at > org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) > at > org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) > at > org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:211) > at > org.ofbiz.widget.model.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:860) > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > at > org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) > at > org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) > at > org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:211) > at > org.ofbiz.widget.model.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:860) > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > at > org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) > at > org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) > at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:136) > at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:98) at > org.ofbiz.widget.renderer.macro.MacroScreenViewHandler.render(MacroScreenViewHandler.java:157) > at > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:991) > at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:675) > at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:213) at > javax.servlet.http.HttpServlet.service(HttpServlet.java:620) at > javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) > at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:324) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) > at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) > at > org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079) > at > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) > at > org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at > org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) > at java.lang.Thread.run(Thread.java:745) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)