Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0013594 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 01. General setup | minor | random | 2010-06-09 17:50 | 2010-07-23 00:00 | |||
Reporter | networkb | View Status | public | |||||
Assigned To | sivaraman | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 9cab69ec3be5 | |||
Projection | none | ETA | none | Target Version | 2.50MP21 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.50MP18 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0013594: Error exporting a client with umlaut characters | |||||||
Description | If you run export client process setting umlaut characters (ä....) in the name, in some environments file generated is not codified in UTF8 so umlaut characters are exported as ? We have not been able to reproduce it locally but solution was provided and verified for a partner which could reproduce it. Comparing code with import client process we realize that in export client, FileWriter is being used instead of OutputStreamWriter (which is used in import client to force UTF-8 codification) We modified line 98 of ExportClientProcess.java final FileWriter fw = new FileWriter(exportFile); by OutputStreamWriter fw = new OutputStreamWriter(new FileOutputStream(exportFile),"UTF-8"); to leave it similar to ImportClientProcess.java and verified that client_data.xml what correctly generated. We attach modified ExportClientProcess.java | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0029082) hgbot (developer) 2010-07-06 10:33 |
Repository: erp/devel/pi Changeset: 9cab69ec3be5f17b499c45cafaf99f91ed449ecb Author: Sivaraman Rajagopal <sivaraman.rajagopal <at> openbravo.com> Date: Tue Jul 06 14:02:30 2010 +0530 URL: http://code.openbravo.com/erp/devel/pi/rev/9cab69ec3be5f17b499c45cafaf99f91ed449ecb [^] Fixes issue 13594: Error exporting a client with umlaut characters UTF-8 encoding is supported in exporting client process --- M src/org/openbravo/service/db/ExportClientProcess.java --- |
(0029083) sivaraman (viewer) 2010-07-06 10:42 |
Steps to test: 1. Log on to Openbravo with 'Openbravo Admin' role 2. Go to General Setup || Client || Client || Client 3. Change Name with any UTF-8 character 4. Go to General Setup || Client || Export Client 5. Verify UTF-8 characters in the exported file if they appear correctly |
(0029115) hudsonbot (viewer) 2010-07-07 12:38 |
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated: Changeset: http://code.openbravo.com/erp/devel/main/rev/9cab69ec3be5 [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/d555a35070ee [^] Tests: http://builds.openbravo.com/view/int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17817.obx [^] |
(0029485) sureshbabu (viewer) 2010-07-22 19:45 |
verified |
![]() |
|||
Date Modified | Username | Field | Change |
2010-06-09 17:50 | networkb | New Issue | |
2010-06-09 17:50 | networkb | Assigned To | => adrianromero |
2010-06-09 17:50 | networkb | File Added: ExportClientProcess.java | |
2010-06-09 17:50 | networkb | OBNetwork customer | => Yes |
2010-06-09 18:47 | adrianromero | Status | new => scheduled |
2010-06-09 18:47 | adrianromero | fix_in_branch | => pi |
2010-07-06 10:27 | sivaraman | Assigned To | adrianromero => sivaraman |
2010-07-06 10:33 | hgbot | Checkin | |
2010-07-06 10:33 | hgbot | Note Added: 0029082 | |
2010-07-06 10:33 | hgbot | Status | scheduled => resolved |
2010-07-06 10:33 | hgbot | Resolution | open => fixed |
2010-07-06 10:33 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/9cab69ec3be5f17b499c45cafaf99f91ed449ecb [^] |
2010-07-06 10:42 | sivaraman | Note Added: 0029083 | |
2010-07-07 12:38 | hudsonbot | Checkin | |
2010-07-07 12:38 | hudsonbot | Note Added: 0029115 | |
2010-07-22 19:45 | sureshbabu | Note Added: 0029485 | |
2010-07-22 19:45 | sureshbabu | Status | resolved => closed |
2010-07-23 00:00 | anonymous | sf_bug_id | 0 => 3033261 |
Copyright © 2000 - 2009 MantisBT Group |