Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035213
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2017-02-09 16:312017-02-27 12:49
ReportermaiteView Statuspublic 
Assigned Toinigosanchez 
PriorityurgentResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035213: Callout problem when working with comma (,) as decimal separator for euro references defined in format.xml

DescriptionValue of the field is not properly loaded in that situation, so callout calculations are wrong
Steps To Reproduce1. Edit config/Format.xml file to set comma as decimal separator for "euroXXX" references:

<Number name="euroEdition" decimal="," grouping="." formatOutput="#0.00" formatInternal="#0.00" />

2. Compile application using: ant smartbuild
3. Register new Sales Invoice record for "EspaƱa" org and any BP. Add any line
4. Access to "Exchange Rate" tab, create new record setting USD, set "Foreign Amount"= 5 and realize that "Rate" field has not been properly calculated

Problem is that "SE_CalculateExchangeRate.java" callout is loading value of 500 (instead of 5) in "foreignAmt" field. Seems to be a generic problem more than a specific problem of this callout
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 00323663.0PR16Q4 closedinigosanchez callout invocation ineficiencies 
related to design defect 0035336 newTriage Platform Base Several improvements in Format.xml behaviour/definition should be done. 
related to defect 0035334 closedinigosanchez Callout problem when working with comma (,) as decimal separator 

-  Notes
(0094529)
inigosanchez (developer)
2017-02-22 11:03

As Openbravo wiki [1] says: "You can define a decimal and grouping separator per format type, but the qtyEdition format is the one that defines them. Makes no sense to define different decimal and grouping per format type."

[1].- http://wiki.openbravo.com/wiki/Format.xml#Important_Notes [^]
(0094530)
inigosanchez (developer)
2017-02-22 11:17

A design defect issue [1] has been created in order to improve several problems of current Format.xml and topics related with format.

[1].- https://issues.openbravo.com/view.php?id=35336 [^]

- Issue History
Date Modified Username Field Change
2017-02-09 16:31 maite New Issue
2017-02-09 16:31 maite Assigned To => platform
2017-02-09 16:31 maite Modules => Core
2017-02-09 16:31 maite Resolution time => 1488150000
2017-02-09 16:31 maite Triggers an Emergency Pack => No
2017-02-09 16:31 maite Issue Monitored: networkb
2017-02-10 09:07 alostale Relationship added related to 0032366
2017-02-17 08:51 inigosanchez Assigned To platform => inigosanchez
2017-02-17 08:51 inigosanchez Status new => scheduled
2017-02-19 12:02 jfrances Issue Monitored: jfrances
2017-02-21 17:21 maite Resolution time 1488150000 =>
2017-02-22 10:55 maite Relationship added related to 0035334
2017-02-22 11:03 inigosanchez Review Assigned To => alostale
2017-02-22 11:03 inigosanchez Note Added: 0094529
2017-02-22 11:03 inigosanchez Status scheduled => closed
2017-02-22 11:03 inigosanchez Resolution open => no change required
2017-02-22 11:16 inigosanchez Relationship added related to 0035336
2017-02-22 11:17 inigosanchez Note Added: 0094530
2017-02-23 19:02 juabaez Issue Monitored: juabaez
2017-02-27 12:49 inigosanchez Summary Callout problem when working with comma (,) as decimal separator => Callout problem when working with comma (,) as decimal separator for euro references defined in format.xml


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker