[ https://issues.apache.org/jira/browse/OFBIZ-6408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14557553#comment-14557553 ] Adrian Crum commented on OFBIZ-6408: ------------------------------------ The error is caused by an invalid expression, as the log entries make clear: {code} <field name="editLink" use-when="${groovy: return reqOrderQty.compareTo(soldOrderQty)!= 0;}&&${groovy: return thruDate.compareTo(org.ofbiz.base.util.UtilDateTime.nowTimestamp()) == 1}" title=" " widget-style="buttontext"> <hyperlink target="EditProductGroupOrder" description="${uiLabelMap.CommonEdit}" also-hidden="false"> <parameter param-name="productId"/> <parameter param-name="groupOrderId"/> </hyperlink> </field> {code} > Adding a group order generates an error > --------------------------------------- > > Key: OFBIZ-6408 > URL: https://issues.apache.org/jira/browse/OFBIZ-6408 > Project: OFBiz > Issue Type: Bug > Components: product > Affects Versions: Trunk, 13.07.01 > Reporter: Pierre Smits > Labels: GroupOrder, catalog > > When adding a Group Order for a product the following error is returned: > {code} > org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://product/widget/catalog/ProductScreens.xml#ViewProductGroupOrder]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://product/widget/catalog/ProductScreens.xml#CommonProductDecorator]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://product/widget/catalog/CommonScreens.xml#main-decorator]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://commonext/widget/CommonScreens.xml#ApplicationDecorator]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. (Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. ) (Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. (Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. )) (Error rendering screen [component://commonext/widget/CommonScreens.xml#ApplicationDecorator]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. (Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. ) (Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. (Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. ))) (Error rendering screen [component://product/widget/catalog/CommonScreens.xml#main-decorator]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://commonext/widget/CommonScreens.xml#ApplicationDecorator]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. (Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. ) (Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. (Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. )) (Error rendering screen [component://commonext/widget/CommonScreens.xml#ApplicationDecorator]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. (Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. ) (Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. (Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. )))) (Error rendering screen [component://product/widget/catalog/ProductScreens.xml#CommonProductDecorator]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://product/widget/catalog/CommonScreens.xml#main-decorator]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://commonext/widget/CommonScreens.xml#ApplicationDecorator]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. (Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. ) (Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. (Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. )) (Error rendering screen [component://commonext/widget/CommonScreens.xml#ApplicationDecorator]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. (Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. ) (Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. (Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. ))) (Error rendering screen [component://product/widget/catalog/CommonScreens.xml#main-decorator]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://commonext/widget/CommonScreens.xml#ApplicationDecorator]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. (Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. ) (Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. (Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. )) (Error rendering screen [component://commonext/widget/CommonScreens.xml#ApplicationDecorator]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. (Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. ) (Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. (Error rendering included form named [ListProductGroupOrder] at location [component://product/widget/catalog/ProductForms.xml]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [true&&] on the field editLink of form ListProductGroupOrder: In file: inline evaluation of: ``true&&;'' Encountered ";" at line 1, column 7. ))))) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) |
Free forum by Nabble | Edit this page |