[ https://issues.apache.org/jira/browse/OFBIZ-6408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17120182#comment-17120182 ] ASF subversion and git services commented on OFBIZ-6408: -------------------------------------------------------- Commit f0e60ba3dc6d4a3a9b09f3d87a42c9e8a53d4e25 in ofbiz-framework's branch refs/heads/trunk from Pawan Verma [ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=f0e60ba ] Fixed: Adding a group order generates an error(OFBIZ-6408) The error is caused by an invalid expression, the two boolean evaluations should reside in the same groovy scriptlet. Thanks, Pierre for report, Scott for the solution and Adrian, Jacques, Rahul for the review. > 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: 13.07.01, Trunk > Reporter: Pierre Smits > Assignee: Pawan Verma > Priority: Major > 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 (v8.3.4#803005) |
Free forum by Nabble | Edit this page |