Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010228Openbravo ERPA. Platformpublic2009-08-10 13:442009-11-24 00:00
shuehner 
shuehner 
normalmajorhave not tried
closedno change required 
5
2.40 
 
No
Core
No
0010228: XmlEngine does not apply formatting to parameters (check xmlEngine-internal calculations)
Values passed as parameters to xmlEngine are not formatted according to the specified format. This leads to inconsistent formatting of numbers passed by parameters.

Verify formatting/need to re-parse strings into BigDecimal when doing calculations inside xmlEngine (i.e. sum )
No tags attached.
related to defect 0010220 closed shuehner XmlEngine does not apply formatting to parameters 
Issue History
2009-08-10 13:44shuehnerNew Issue
2009-08-10 13:44shuehnerAssigned To => shuehner
2009-08-10 13:44shuehnerOBNetwork customer => No
2009-08-10 13:44shuehnerIssue generated from0010220
2009-08-10 13:44shuehnerRelationship addedrelated to 0010220
2009-08-31 10:00rafarodaNote Added: 0019314
2009-08-31 10:00rafarodaStatusnew => feedback
2009-08-31 11:13shuehnerNote Added: 0019324
2009-09-08 11:31shuehnerStatusfeedback => new
2009-09-18 14:52rafarodaStatusnew => acknowledged
2009-11-23 16:35shuehnerStatusacknowledged => scheduled
2009-11-23 16:35shuehnerfix_in_branch => pi
2009-11-23 16:36shuehnerNote Added: 0022117
2009-11-23 16:36shuehnerStatusscheduled => closed
2009-11-23 16:36shuehnerResolutionopen => no change required
2009-11-24 00:00anonymoussf_bug_id0 => 2902797

Notes
(0019314)
rafaroda   
2009-08-31 10:00   
Stefan,

Is this the backport of 0010220 ? Will this be backported to 2.40?

Thanks.
(0019324)
shuehner   
2009-08-31 11:13   
This ia a related issue. The 10220 was done and backported already. The 10220 did only the minimal changes required to make the output formatting work. This issue is about checking is the internal rounding (as specified in the format) needs to be/should be applied also when parameters are part of xmlengine calculations (sum,add,....). If a change will be done after this check it should be applied to both pi and 2.40
(0022117)
shuehner   
2009-11-23 16:36   
If a parameter value comes from a user input field, then the value is already properly formatted (if conversion step to numeric format projects are followed). For manual java code setting a parameter value will just use the passed in value consistent with old behavior. -> No change required.