Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0038647 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | minor | have not tried | 2018-05-29 11:22 | 2018-06-18 09:56 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR18Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 9992be626b9a | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | marvintm | |||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
Notes | |
(0104764) hgbot (developer) 2018-05-29 11:26 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 9992be626b9a71aaa50bf143a03b012612d8e769 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Tue May 29 11:25:58 2018 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9992be626b9a71aaa50bf143a03b012612d8e769 [^] fixes issue 38647: Do not compile the subreport of the CashUp report manually --- M src/org/openbravo/retail/posterminal/ad_reports/CashUpReport.java M src/org/openbravo/retail/posterminal/ad_reports/CashUpReport.jrxml --- |
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 | View Revisions |
2018-05-29 11:23 | caristu | Description Updated | View Revisions |
2018-05-29 11:23 | caristu | Steps to Reproduce Updated | View Revisions |
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 |
Copyright © 2000 - 2009 MantisBT Group |