Openbravo Issue Tracking System - Retail Modules | |||||||||||||
View Issue Details | |||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0038647 | Retail Modules | Web POS | public | 2018-05-29 11:22 | 2018-06-18 09:56 | ||||||||
Reporter | caristu | ||||||||||||
Assigned To | caristu | ||||||||||||
Priority | high | Severity | minor | Reproducibility | have not tried | ||||||||
Status | closed | Resolution | fixed | ||||||||||
Platform | OS | 5 | OS Version | ||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | RR18Q3 | |||||||||||
Merge Request Status | |||||||||||||
Review Assigned To | marvintm | ||||||||||||
OBNetwork customer | |||||||||||||
Support ticket | |||||||||||||
Regression level | |||||||||||||
Regression date | |||||||||||||
Regression introduced in release | |||||||||||||
Regression introduced by commit | |||||||||||||
Triggers an Emergency Pack | No | ||||||||||||
Summary | 0038647: Do not compile the subreport of the CashUp report manually | ||||||||||||
Description | The CashUp report is failing to compile after the changes introduced with 0038518. With the changes introduced with 0038518, the renderJR method looks for the subreports and compiles them automatically. Currently, the CashUp report compiles its subreport manually, but the name that it is giving to the subreport parameter starts with "SUBREP_" (SUBREP_CASHUP). Therefore the print engine is trying to find a subreport named CASHUP.jrxml which does not exists, causing a compilation failure. See the error stack trace: net.sf.jasperreports.engine.JRException: /home/openbravo/src/30retail/pi/WebContent/src-loc/design/org/openbravo/retail/posterminal/ad_reports/CASHUP.jrxml (No such jasper template file) at org.openbravo.client.application.report.ReportCompiler.getJasperDesign(ReportCompiler.java:132) at org.openbravo.client.application.report.ReportCompiler.compileSubReports(ReportCompiler.java:109) at org.openbravo.client.application.report.CompiledReportManager.compileReportWithSubreports(CompiledReportManager.java:87) at org.openbravo.client.application.report.ReportingUtils.generateJasperPrint(ReportingUtils.java:980) at org.openbravo.client.application.report.ReportingUtils.exportJR(ReportingUtils.java:191) at org.openbravo.base.secureApp.HttpSecureAppServlet.renderJR(HttpSecureAppServlet.java:1255) at org.openbravo.base.secureApp.HttpSecureAppServlet.renderJR(HttpSecureAppServlet.java:1160) at org.openbravo.base.secureApp.HttpSecureAppServlet.renderJR(HttpSecureAppServlet.java:1143) at org.openbravo.retail.posterminal.ad_reports.CashUpReport.doPost(CashUpReport.java:401) | ||||||||||||
Steps To Reproduce | 1) Go to the "POS Terminal" window 2) Look for a POS Terminal where any cash-up has been done and switch to the "Cash Up History" sub-tab. 3) Press "Cash Up Report" button. The report is not generated. | ||||||||||||
Proposed Solution | Do not compile the subreport by hand. Let the reporting engine do it. | ||||||||||||
Additional Information | |||||||||||||
Tags | No tags attached. | ||||||||||||
Relationships |
| ||||||||||||
Attached Files | |||||||||||||
Issue History | |||||||||||||
Date Modified | Username | Field | Change | ||||||||||
2018-05-29 11:22 | caristu | New Issue | |||||||||||
2018-05-29 11:22 | caristu | Assigned To | => caristu | ||||||||||
2018-05-29 11:22 | caristu | Triggers an Emergency Pack | => No | ||||||||||
2018-05-29 11:22 | caristu | Relationship added | related to 0038518 | ||||||||||
2018-05-29 11:23 | caristu | Description Updated | bug_revision_view_page.php?rev_id=17209#r17209 | ||||||||||
2018-05-29 11:23 | caristu | Description Updated | bug_revision_view_page.php?rev_id=17210#r17210 | ||||||||||
2018-05-29 11:23 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=17212#r17212 | ||||||||||
2018-05-29 11:26 | hgbot | Checkin | |||||||||||
2018-05-29 11:26 | hgbot | Note Added: 0104764 | |||||||||||
2018-05-29 11:26 | hgbot | Status | new => resolved | ||||||||||
2018-05-29 11:26 | hgbot | Resolution | open => fixed | ||||||||||
2018-05-29 11:26 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9992be626b9a71aaa50bf143a03b012612d8e769 [^] | ||||||||||
2018-05-29 13:08 | caristu | Review Assigned To | => marvintm | ||||||||||
2018-06-18 09:56 | marvintm | Status | resolved => closed | ||||||||||
2018-06-18 09:56 | marvintm | Fixed in Version | => RR18Q3 |
Notes | |||||
|
|||||
|
|