Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037781 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 07. Sales management | major | always | 2018-01-30 11:15 | 2018-02-01 10:00 | |||
Reporter | pramodkumar | View Status | public | |||||
Assigned To | collazoandy4 | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 3.0PR18Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | d9b6eab2cbe9 | ||||
Projection | none | ETA | none | Target Version | 3.0PR18Q1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | main | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | dmiguelez | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037781: Sales Invoice Dimensional Report in Excel - error 0/0 | |||||||
Description | If Sales Invoice Dimensional report is executed in excel (pdf is working fine) with invoices that have a total amount of zero an error is raising: 24df6f05 2018-01-26 13:45:58,345 [ajp-bio-127.0.0.1-8009-exec-1] ERROR org.openbravo.erpCommon.ad_reports.ReportInvoiceCustomerDimensionalAnalysesJR - Error captured: javax.servlet.ServletException: Error evaluating expression : Source text : $V{totalProfit}.divide($V{totalAmt}, 10, BigDecimal.ROUND_HALF_UP).multiply( new BigDecimal("100") ).multiply(new BigDecimal($V{totalProfit}.signum())) at org.openbravo.base.secureApp.HttpSecureAppServlet.renderJR(HttpSecureAppServlet.java:1306) at org.openbravo.base.secureApp.HttpSecureAppServlet.renderJR(HttpSecureAppServlet.java:1205) at org.openbravo.erpCommon.ad_reports.ReportInvoiceCustomerDimensionalAnalysesJR.printPageHtml(ReportInvoiceCustomerDimensionalAnalysesJR.java:1036) at org.openbravo.erpCommon.ad_reports.ReportInvoiceCustomerDimensionalAnalysesJR.doPost(ReportInvoiceCustomerDimensionalAnalysesJR.java:299) at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:228) at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:462) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) | |||||||
Steps To Reproduce | 1.Create any sales invoices with zero amount 2.Open sales invoice dimensional reports and pass the minimum parameter to get the report corresponding to customers. 3.Select the excel format report(Pdf working fine). | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0102110) dmiguelez (viewer) 2018-02-01 09:59 |
Fixed by commits: https://code.openbravo.com/erp/backports/3.0PR18Q1/rev/05baa2c353ce551b12cc59de8288ea62c6ee6614 [^] https://code.openbravo.com/erp/backports/3.0PR18Q1/rev/d9b6eab2cbe943f9a4cb454423211ebfcffb2d58 [^] |
(0102111) dmiguelez (viewer) 2018-02-01 10:00 |
Code Review + Testing Ok |
![]() |
|||
Date Modified | Username | Field | Change |
2018-01-30 23:27 | collazoandy4 | Type | defect => backport |
2018-01-30 23:27 | collazoandy4 | Target Version | => 3.0PR18Q1 |
2018-02-01 09:59 | dmiguelez | Note Added: 0102110 | |
2018-02-01 09:59 | dmiguelez | Status | scheduled => resolved |
2018-02-01 09:59 | dmiguelez | Fixed in Version | => 3.0PR18Q1 |
2018-02-01 09:59 | dmiguelez | Fixed in SCM revision | => https://code.openbravo.com/erp/backports/3.0PR18Q1/rev/d9b6eab2cbe943f9a4cb454423211ebfcffb2d58 [^] |
2018-02-01 09:59 | dmiguelez | Resolution | open => fixed |
2018-02-01 10:00 | dmiguelez | Review Assigned To | => dmiguelez |
2018-02-01 10:00 | dmiguelez | Note Added: 0102111 | |
2018-02-01 10:00 | dmiguelez | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |