Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010220Openbravo ERPA. Platformpublic2009-08-10 13:002009-08-19 00:00
shuehner 
shuehner 
urgentmajorhave not tried
closedfixed 
5
2.40 
 
No
Core
No
0010220: 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.
related to defect 0010228 closed shuehner XmlEngine does not apply formatting to parameters (check xmlEngine-internal calculations) 
depends on backport 0010221 closed shuehner XmlEngine does not apply formatting to parameters 
Issue History
2009-08-10 13:00shuehnerNew Issue
2009-08-10 13:00shuehnerAssigned To => shuehner
2009-08-10 13:00shuehnerOBNetwork customer => No
2009-08-10 13:01shuehnerStatusnew => scheduled
2009-08-10 13:01shuehnerfix_in_branch => pi
2009-08-10 13:44shuehnerIssue cloned0010228
2009-08-10 13:44shuehnerRelationship addedrelated to 0010228
2009-08-10 14:58hgbotCheckin
2009-08-10 14:58hgbotNote Added: 0018902
2009-08-10 14:58hgbotStatusscheduled => resolved
2009-08-10 14:58hgbotResolutionopen => fixed
2009-08-10 14:58hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/264daa0f658f80e0236a756c93dff587d2435882 [^]
2009-08-18 10:16plujanStatusresolved => closed
2009-08-19 00:00anonymoussf_bug_id0 => 2839901

Notes
(0018902)
hgbot   
2009-08-10 14:58   
Repository: erp/devel/pi
Changeset: 264daa0f658f80e0236a756c93dff587d2435882
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Mon Aug 10 14:58:26 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/264daa0f658f80e0236a756c93dff587d2435882 [^]

Fixed 10220: 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
---