Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0006282 | Openbravo ERP | A. Platform | public | 2008-11-30 23:02 | 2009-03-06 12:34 |
Reporter | mtaal | ||||
Assigned To | AinhoaPagola | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0006282: Openbravo source code contains examples of incorrect use of the BigDecimal setScale method | ||||
Description | The BigDecimal setScale method does not change the BigDecimal but returns a new instance. There are several places in the Openbravo code where the return value is not used: LineNetAmt.setScale(stdPrecision, BigDecimal.ROUND_HALF_UP); The correct above code is: LineNetAmt = LineNetAmt.setScale(stdPrecision, BigDecimal.ROUND_HALF_UP); The occurrences of this error can be found by searching for: setScale( in the Openbravo source code tree | ||||
Steps To Reproduce | |||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2008-11-30 23:02 | mtaal | New Issue | |||
2008-11-30 23:02 | mtaal | Assigned To | => rafaroda | ||
2008-11-30 23:02 | mtaal | sf_bug_id | 0 => 2367121 | ||
2008-11-30 23:02 | mtaal | OBNetwork customer | => No | ||
2008-11-30 23:02 | mtaal | Regression testing | => No | ||
2008-12-03 19:03 | pjuvara | Priority | normal => high | ||
2008-12-09 13:00 | pheenan | Assigned To | rafaroda => AinhoaPagola | ||
2008-12-09 20:02 | svnbot | Checkin | |||
2008-12-09 20:02 | svnbot | Note Added: 0011099 | |||
2008-12-09 20:02 | svnbot | Status | new => resolved | ||
2008-12-09 20:02 | svnbot | Resolution | open => fixed | ||
2008-12-09 20:02 | svnbot | svn_revision | => 11071 | ||
2009-03-06 12:34 | psarobe | Status | resolved => closed |
Notes | |||||
|
|||||
|
|