Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #38647 Back to Issue ]
Summary 0038647: Do not compile the subreport of the CashUp report manually
Revision 2018-05-29 11:23 by caristu
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.
Revision 2018-05-29 11:23 by caristu
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)
Revision 2018-05-29 11:23 by caristu
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, 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)
Revision 2018-05-29 11:23 by caristu
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.
Revision 2018-05-29 11:22 by caristu
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).

Now the print engine is trying to find a subreport named CASHUP.jrxml which does not exists, causing a compilation failure.


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker