Pagination is broken in open order item report.
----------------------------------------------- Key: OFBIZ-1604 URL: https://issues.apache.org/jira/browse/OFBIZ-1604 Project: OFBiz Issue Type: Bug Components: order Affects Versions: SVN trunk Environment: Linux, postgres 8, JDK 1.5 Reporter: Rohit Sureka Priority: Minor Hi, the pagination in open order items report in the order manager throws an error, if no begining and end dates are selected. I think by default all the open order item for all dates should be showing as it was in the svn version from a month back. If we do not select both the dates and hit the next button, ofbiz throws the following error: org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://order/widget/ordermgr/ReportScreens.xml#OpenOrderItemsReport]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://order/webapp/ordermgr/WEB-INF/actions/reports/OpenOrderItemsReport.bsh]: org.ofbiz.base.util.GeneralException: Error running BSH script at [component://order/webapp/ordermgr/WEB-INF/actions/reports/OpenOrderItemsReport.bsh], line [42]: Sourced file: component://order/webapp/ordermgr/WEB-INF/actions/reports/OpenOrderItemsReport.bsh : at Line: 42 : in file: component://order/webapp/ordermgr/WEB-INF/actions/reports/OpenOrderItemsReport.bsh : fromOrderDate .equals ( "" ) Rohit -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563126#action_12563126 ] Jacques Le Roux commented on OFBIZ-1604: ---------------------------------------- Rohit, I have fixed in trunk rev. 615676 a not related bug in OpenOrderItemsReport.bsh . Could you please detail your use case (pagination, you mean a lot of orders ?). Also I can't see any changes in OpenOrderItemsReport.bsh this last month. Anil has added the date fields in september (the fix I made was related). > Pagination is broken in open order item report. > ----------------------------------------------- > > Key: OFBIZ-1604 > URL: https://issues.apache.org/jira/browse/OFBIZ-1604 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: SVN trunk > Environment: Linux, postgres 8, JDK 1.5 > Reporter: Rohit Sureka > Priority: Minor > > Hi, > the pagination in open order items report in the order manager throws an error, if no begining and end dates are selected. I think by default all the open order item for all dates should be showing as it was in the svn version from a month back. > If we do not select both the dates and hit the next button, ofbiz throws the following error: > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://order/widget/ordermgr/ReportScreens.xml#OpenOrderItemsReport]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://order/webapp/ordermgr/WEB-INF/actions/reports/OpenOrderItemsReport.bsh]: org.ofbiz.base.util.GeneralException: Error running BSH script at [component://order/webapp/ordermgr/WEB-INF/actions/reports/OpenOrderItemsReport.bsh], line [42]: Sourced file: component://order/webapp/ordermgr/WEB-INF/actions/reports/OpenOrderItemsReport.bsh : at Line: 42 : in file: component://order/webapp/ordermgr/WEB-INF/actions/reports/OpenOrderItemsReport.bsh : fromOrderDate .equals ( "" ) > Rohit -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563430#action_12563430 ] Bilgin Ibryam commented on OFBIZ-1604: -------------------------------------- I also cannot reproduse the bug in latest trunk. It looks like r615676 fix this bug. Rohit, can you confirm this? > Pagination is broken in open order item report. > ----------------------------------------------- > > Key: OFBIZ-1604 > URL: https://issues.apache.org/jira/browse/OFBIZ-1604 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: SVN trunk > Environment: Linux, postgres 8, JDK 1.5 > Reporter: Rohit Sureka > Priority: Minor > > Hi, > the pagination in open order items report in the order manager throws an error, if no begining and end dates are selected. I think by default all the open order item for all dates should be showing as it was in the svn version from a month back. > If we do not select both the dates and hit the next button, ofbiz throws the following error: > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://order/widget/ordermgr/ReportScreens.xml#OpenOrderItemsReport]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://order/webapp/ordermgr/WEB-INF/actions/reports/OpenOrderItemsReport.bsh]: org.ofbiz.base.util.GeneralException: Error running BSH script at [component://order/webapp/ordermgr/WEB-INF/actions/reports/OpenOrderItemsReport.bsh], line [42]: Sourced file: component://order/webapp/ordermgr/WEB-INF/actions/reports/OpenOrderItemsReport.bsh : at Line: 42 : in file: component://order/webapp/ordermgr/WEB-INF/actions/reports/OpenOrderItemsReport.bsh : fromOrderDate .equals ( "" ) > Rohit -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bilgin Ibryam reassigned OFBIZ-1604: ------------------------------------ Assignee: Bilgin Ibryam > Pagination is broken in open order item report. > ----------------------------------------------- > > Key: OFBIZ-1604 > URL: https://issues.apache.org/jira/browse/OFBIZ-1604 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: SVN trunk > Environment: Linux, postgres 8, JDK 1.5 > Reporter: Rohit Sureka > Assignee: Bilgin Ibryam > Priority: Minor > Fix For: SVN trunk > > > Hi, > the pagination in open order items report in the order manager throws an error, if no begining and end dates are selected. I think by default all the open order item for all dates should be showing as it was in the svn version from a month back. > If we do not select both the dates and hit the next button, ofbiz throws the following error: > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://order/widget/ordermgr/ReportScreens.xml#OpenOrderItemsReport]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://order/webapp/ordermgr/WEB-INF/actions/reports/OpenOrderItemsReport.bsh]: org.ofbiz.base.util.GeneralException: Error running BSH script at [component://order/webapp/ordermgr/WEB-INF/actions/reports/OpenOrderItemsReport.bsh], line [42]: Sourced file: component://order/webapp/ordermgr/WEB-INF/actions/reports/OpenOrderItemsReport.bsh : at Line: 42 : in file: component://order/webapp/ordermgr/WEB-INF/actions/reports/OpenOrderItemsReport.bsh : fromOrderDate .equals ( "" ) > Rohit -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bilgin Ibryam closed OFBIZ-1604. -------------------------------- Resolution: Cannot Reproduce Fix Version/s: SVN trunk > Pagination is broken in open order item report. > ----------------------------------------------- > > Key: OFBIZ-1604 > URL: https://issues.apache.org/jira/browse/OFBIZ-1604 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: SVN trunk > Environment: Linux, postgres 8, JDK 1.5 > Reporter: Rohit Sureka > Priority: Minor > Fix For: SVN trunk > > > Hi, > the pagination in open order items report in the order manager throws an error, if no begining and end dates are selected. I think by default all the open order item for all dates should be showing as it was in the svn version from a month back. > If we do not select both the dates and hit the next button, ofbiz throws the following error: > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://order/widget/ordermgr/ReportScreens.xml#OpenOrderItemsReport]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://order/webapp/ordermgr/WEB-INF/actions/reports/OpenOrderItemsReport.bsh]: org.ofbiz.base.util.GeneralException: Error running BSH script at [component://order/webapp/ordermgr/WEB-INF/actions/reports/OpenOrderItemsReport.bsh], line [42]: Sourced file: component://order/webapp/ordermgr/WEB-INF/actions/reports/OpenOrderItemsReport.bsh : at Line: 42 : in file: component://order/webapp/ordermgr/WEB-INF/actions/reports/OpenOrderItemsReport.bsh : fromOrderDate .equals ( "" ) > Rohit -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |