Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0020148 | Openbravo ERP | 09. Financial management | public | 2012-03-29 11:30 | 2012-04-02 06:13 |
Reporter | mirurita | ||||
Assigned To | mirurita | ||||
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | pi | ||||
Target Version | Fixed in Version | 3.0MP10 | |||
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 | 0020148: java.lang.NumberFormatException in General Ledger Journal pdf output using comma as decimal separator in initial balance filter | ||||
Description | Use comma as decimal separator. If the Initial Balance filter in general ledger journal contains a comma if you run the pdf report it will fail: java.lang.NumberFormatException it is trying to convert a number with commas as decimal separator to BigDecimal. | ||||
Steps To Reproduce | 1) Comma must be configured as decimal separator. 2) Go to General Ledger Journal 3) By default Initial Balance filter contains 0 as value 4) Enter any value and the input will be formatted to euroEdition containing comma as decimal separator 5) Click on the printer icon on the toolbar. | ||||
Proposed Solution | use vars.getNumeric... methods for getting the value of this filter instead of String strInitialBalance = vars.getGlobalVariable("inpInitialBalance", "ReportGeneralLedgerJournal|InitialBalance", "0"); use String strInitialBalance = vars.getNumericGlobalVariable("inpInitialBalance", "ReportGeneralLedgerJournal|InitialBalance", "0"); | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=5104&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-03-29 11:30 | mirurita | New Issue | |||
2012-03-29 11:30 | mirurita | Assigned To | => vmromanos | ||
2012-03-29 11:30 | mirurita | File Added: GeneralLedgerReport.png | |||
2012-03-29 11:30 | mirurita | Modules | => Core | ||
2012-03-29 11:30 | mirurita | OBNetwork customer | => No | ||
2012-03-29 17:01 | mirurita | Assigned To | vmromanos => mirurita | ||
2012-03-29 17:03 | hgbot | Checkin | |||
2012-03-29 17:03 | hgbot | Note Added: 0046910 | |||
2012-03-29 17:03 | hgbot | Status | new => resolved | ||
2012-03-29 17:03 | hgbot | Resolution | open => fixed | ||
2012-03-29 17:03 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/944195714367a88173715611a25a9a04550ff88d [^] | ||
2012-03-29 17:10 | mirurita | Note Added: 0046920 | |||
2012-03-30 12:55 | vmromanos | Note Added: 0046972 | |||
2012-03-30 12:55 | vmromanos | Status | resolved => closed | ||
2012-03-30 12:55 | vmromanos | Fixed in Version | => 3.0MP10 | ||
2012-04-02 06:13 | hudsonbot | Checkin | |||
2012-04-02 06:13 | hudsonbot | Note Added: 0047272 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|