Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028124Openbravo ERPA. Platformpublic2014-11-07 14:052014-12-30 23:26
caristu 
NaroaIriarte 
highminoralways
closedfixed 
5
pi 
3.0PR15Q13.0PR15Q1 
alostale
Core
No
0028124: The CSV Decimal Separator preference is not taken into account in Query/List widgets
The CSV Decimal Separator preference is not taken into account when exporting into CSV a Query/List widgets
1) Configure the CSV Decimal Separator to use the comma (,) as decimal separator
2) Go to any Query/List widget in the workspace
3) Export the grid into csv. Notice that the amounts are using always the dot (.) as decimal separator
No tags attached.
Issue History
2014-11-07 14:05caristuNew Issue
2014-11-07 14:05caristuAssigned To => AugustoMauch
2014-11-07 14:05caristuModules => Core
2014-11-07 14:05caristuResolution time => 1421794800
2014-11-07 14:05caristuTriggers an Emergency Pack => No
2014-11-07 14:05caristuIssue Monitored: networkb
2014-11-07 15:39eugeniIssue Monitored: eugeni
2014-11-17 17:43alostaleAssigned ToAugustoMauch => NaroaIriarte
2014-11-19 16:42NaroaIriarteReview Assigned To => alostale
2014-11-21 09:18hgbotCheckin
2014-11-21 09:18hgbotNote Added: 0071869
2014-11-21 09:18hgbotStatusnew => resolved
2014-11-21 09:18hgbotResolutionopen => fixed
2014-11-21 09:18hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6c40462ac6e5c980915b64bdd688be9183df87d4 [^]
2014-11-21 09:18alostaleNote Added: 0071870
2014-11-21 09:18alostaleStatusresolved => closed
2014-11-21 09:18alostaleFixed in Version => 3.0PR15Q1
2014-12-30 23:26hudsonbotCheckin
2014-12-30 23:26hudsonbotNote Added: 0073119

Notes
(0071869)
hgbot   
2014-11-21 09:18   
Repository: erp/devel/pi
Changeset: 6c40462ac6e5c980915b64bdd688be9183df87d4
Author: Naroa Iriarte <naroa.iriarte <at> openbravo.com>
Date: Wed Nov 19 16:35:42 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/6c40462ac6e5c980915b64bdd688be9183df87d4 [^]

Fixed issue 28124: The separator preference is not taken in CSV export.

When a csv was exported from a widget, the decimal separator preferences were not taken.
The problem was in "DataSourceServlet.java" class.
I've added a condition. Now when the CSV decimal separator preference is defined, uses it
insead of using the one defined in "Format.xml".

---
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DataSourceServlet.java
---
(0071870)
alostale   
2014-11-21 09:18   
code reviewed

tested in widgets and standard grid
(0073119)
hudsonbot   
2014-12-30 23:26   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/6525fe229e06 [^]
Maturity status: Test