Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0008177 | Openbravo ERP | A. Platform | public | 2009-03-17 19:04 | 2009-04-22 00:01 | |||||||||||||||||||||
Reporter | shuehner | |||||||||||||||||||||||||
Assigned To | shuehner | |||||||||||||||||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||||||||||||||||
Status | closed | Resolution | fixed | |||||||||||||||||||||||
Platform | OS | 5 | OS Version | |||||||||||||||||||||||
Product Version | 2.40 | |||||||||||||||||||||||||
Target Version | Fixed in Version | 2.50 | ||||||||||||||||||||||||
Merge Request Status | ||||||||||||||||||||||||||
Review Assigned To | ||||||||||||||||||||||||||
OBNetwork customer | ||||||||||||||||||||||||||
Web browser | ||||||||||||||||||||||||||
Modules | Core | |||||||||||||||||||||||||
Support ticket | ||||||||||||||||||||||||||
Regression level | ||||||||||||||||||||||||||
Regression date | ||||||||||||||||||||||||||
Regression introduced in release | ||||||||||||||||||||||||||
Regression introduced by commit | ||||||||||||||||||||||||||
Triggers an Emergency Pack | No | |||||||||||||||||||||||||
Summary | 0008177: Calculations done by XmlEngine (i.e. sum) are done using double. which leads to calculation errors. | |||||||||||||||||||||||||
Description | XmlEngine can do some calculations when rendering i.e. a report. Example total sum of some values shown in the rows. This calculations are done using double which leads to errors. Depending on the output-formatting these errors are sometimes 'hidden' as the rounded value is by accident the correct value. | |||||||||||||||||||||||||
Steps To Reproduce | - Use the Payment Aging Balance report as example [1]. - Enter data to be shown in the report to either only show ten lines of Value '0.1' in some column or to include ten extra lines of value '0.1'. One way of entering data for this is to follow the description in the page ag [2] - edit the config/Format.xml to change autoInform formatting to the following '#,##0.####################' - See that the total value shown in the report is incorrect. [1] Financial Management || Receivables & Payables || Analysis Tools || Payment Aging Balance || Payment Aging Balance [2] http://wiki.openbravo.com/wiki/Talk:Demo_Script/Op01_Pending_receivables_by_date_ranges [^] | |||||||||||||||||||||||||
Proposed Solution | Change XmlEngine internal representation from double -> BigDecimal | |||||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||||
Attached Files | Format.xml (3,303) 2009-03-17 19:04 https://issues.openbravo.com/file_download.php?file_id=1009&type=bug xmlengine_doubles_std.png (81,394) 2009-03-17 19:04 https://issues.openbravo.com/file_download.php?file_id=1010&type=bug | |||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2009-03-17 19:04 | shuehner | New Issue | ||||||||||||||||||||||||
2009-03-17 19:04 | shuehner | Assigned To | => shuehner | |||||||||||||||||||||||
2009-03-17 19:04 | shuehner | Regression testing | => No | |||||||||||||||||||||||
2009-03-17 19:04 | shuehner | File Added: Format.xml | ||||||||||||||||||||||||
2009-03-17 19:04 | shuehner | File Added: xmlengine_doubles_std.png | ||||||||||||||||||||||||
2009-03-17 19:05 | shuehner | Note Added: 0014740 | ||||||||||||||||||||||||
2009-03-17 19:06 | shuehner | Note Added: 0014741 | ||||||||||||||||||||||||
2009-03-17 19:06 | shuehner | Relationship added | related to 0008098 | |||||||||||||||||||||||
2009-03-23 19:30 | shuehner | Status | new => scheduled | |||||||||||||||||||||||
2009-03-23 19:30 | shuehner | fix_in_branch | => pi | |||||||||||||||||||||||
2009-03-24 12:40 | hgbot | Checkin | ||||||||||||||||||||||||
2009-03-24 12:40 | hgbot | Note Added: 0014895 | ||||||||||||||||||||||||
2009-03-24 12:40 | hgbot | Status | scheduled => resolved | |||||||||||||||||||||||
2009-03-24 12:40 | hgbot | Resolution | open => fixed | |||||||||||||||||||||||
2009-03-24 12:40 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/217112210a5303d7f401b97d51c7723f322b17b7 [^] | |||||||||||||||||||||||
2009-04-21 10:53 | psarobe | Status | resolved => closed | |||||||||||||||||||||||
2009-04-22 00:01 | anonymous | sf_bug_id | 0 => 2778081 | |||||||||||||||||||||||
2010-02-02 21:22 | shuehner | Relationship added | related to 0012100 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|