Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0018024 | Openbravo ERP | 09. Financial management | public | 2011-07-18 17:29 | 2011-07-27 12:28 | |||||||
| Reporter | mirurita | |||||||||||
| Assigned To | mirurita | |||||||||||
| 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 | 0018024: Not possible to enter a G/L Journal line using comma as decimal separator | |||||||||||
| Description | It is not possible to create a new G/L Journal Line using comma as decimal separator. (see attached screenshot) The following callout is preventing the tab to be loaded properly: SL_JournalLineAmt Caused by: java.lang.NumberFormatException at java.math.BigDecimal.<init>(BigDecimal.java:470) at java.math.BigDecimal.<init>(BigDecimal.java:739) at org.openbravo.erpCommon.ad_callouts.SL_JournalLineAmt.printPage(SL_JournalLineAmt.java:98) at org.openbravo.erpCommon.ad_callouts.SL_JournalLineAmt.doPost(SL_JournalLineAmt.java:65) | |||||||||||
| Steps To Reproduce | 1) Configure comma as decimal separator. 2) Create a new G/L Journal Batch 3) Create a new G/L Journal Header 4) Try to create a new G/L Journal Line | |||||||||||
| Proposed Solution | Use getNumericParameter instead of getStringParameter Line 55 String strCurrencyRate = vars.getStringParameter("inpcurrencyrate", "1"); | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2011-07-18 18:36 | mirurita | Type | defect => backport | |||||||||
| 2011-07-18 18:36 | mirurita | fix_in_branch | => 2.50 | |||||||||
| 2011-07-18 18:40 | hgbot | Checkin | ||||||||||
| 2011-07-18 18:40 | hgbot | Note Added: 0039193 | ||||||||||
| 2011-07-18 18:40 | hgbot | Status | scheduled => resolved | |||||||||
| 2011-07-18 18:40 | hgbot | Resolution | open => fixed | |||||||||
| 2011-07-18 18:40 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/stable/2.50/rev/e9d5e89d8e27de0728e611f2ed8a84cc584c69f3 [^] | |||||||||
| 2011-07-27 12:28 | psanjuan | Note Added: 0039439 | ||||||||||
| 2011-07-27 12:28 | psanjuan | Status | resolved => closed | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||