Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010221Openbravo ERPA. Platformpublic2009-08-10 13:002009-09-02 12:57
shuehner 
shuehner 
urgentmajorhave not tried
closedfixed 
5
2.40 
2.40MP9 
No
Core
No
0010221: XmlEngine does not apply formatting to parameters
Values passed as parameters to xmlEngine are not formatted according to the specified format. This leads to inconsistent formatting of numbers passed by parameters.
Goto Sales Order (edit view)
Click Copy Lines
Check the 'Pending delivery/receipt' or 'Pending invoice' values
See that they are not formatted according to 'euroInform'
Add formatting to parameters.
This should do nothing if no format attribute is specified for the parameter (most use-cases) and apply the formatting if specified.
No tags attached.
blocks defect 0010220 closed shuehner XmlEngine does not apply formatting to parameters 
Issue History
2009-08-10 13:01shuehnerTypedefect => backport
2009-08-10 13:01shuehnerfix_in_branch => 2.40
2009-08-10 14:59hgbotCheckin
2009-08-10 14:59hgbotNote Added: 0018903
2009-08-10 14:59hgbotStatusscheduled => resolved
2009-08-10 14:59hgbotResolutionopen => fixed
2009-08-10 14:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/7cdc6912459508ddd00927e0a88d9827618e76cc [^]
2009-09-02 12:57sureshbabuStatusresolved => closed
2009-09-02 12:57sureshbabuNote Added: 0019414
2009-09-02 12:57sureshbabuFixed in Version => 2.40MP9

Notes
(0018903)
hgbot   
2009-08-10 14:59   
Repository: erp/stable/2.40
Changeset: 7cdc6912459508ddd00927e0a88d9827618e76cc
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Mon Aug 10 14:59:02 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/7cdc6912459508ddd00927e0a88d9827618e76cc [^]

Fixed 10221: Add optional formatting to parameters passed to xmlEngine
- Add optional attribute format to parameter tag (similar to field tag)
- If attribute is specified apply the format when producing the output

---
M src-core/src/org/openbravo/xmlEngine/ParameterTemplate.java
M src-core/src/org/openbravo/xmlEngine/ParameterValue.java
M src-core/src/org/openbravo/xmlEngine/TemplateConfiguration.java
---
(0019414)
sureshbabu   
2009-09-02 12:57   
Tested & its working fine as expected