[ https://issues.apache.org/jira/browse/OFBIZ-6408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pawan Verma reopened OFBIZ-6408: -------------------------------- While working on OFBIZ-11773, I realized that Old code has the wrong package for UtilDateTime. Current code: org.ofbiz.base.util.UtilDateTime.nowTimestamp() Expected code: org.apache.ofbiz.base.util.UtilDateTime.nowTimestamp() Reopening to correct it. > 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 > Fix For: 18.12.01, 17.12.04 > > > 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)