Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0004666Openbravo ERPE. Translationpublic2008-08-21 12:552009-04-21 10:53
rafaroda 
Dowid 
normalminoralways
closedfixed 
20Ubuntu 7.10
pi 
2.50 
Core
No
0004666: Import process does not read correctly \n
When importing a translation, original message \n is not read correctly and set as an empty character in the database.
1) Install the Spanish translation: http://wiki.openbravo.com/wiki/Translating_Openbravo#Installing_a_new_translation [^]

2) select * from ad_textinterfaces_trl where ad_textinterfaces_id = 1000100011;

Notice that 'text' column is empty even if it was correctly set in AD_TEXTINTERFACES_TRL_es_ES.xml (line 4372):
<row id="1000100011" trl="Y">
    <value column="Text" original="\n">\n</value>
</row>

3) When you export Spanish translation, in AD_TEXTINTERFACES_TRL_es_ES.xml (line 4372) you've got:
<row id="1000100011" trl="Y">
    <value column="Text" original="\n">
</value>
</row>
No tags attached.
related to defect 00045312.40 closed dalsasua Print Error 
depends on backport 0004915 closed Dowid Import process does not read correctly \n 
Issue History
2008-08-21 12:55rafarodaNew Issue
2008-08-21 12:55rafarodaAssigned To => pheenan
2008-08-21 12:55rafarodasf_bug_id0 => 2064506
2008-08-21 12:55rafarodaRegression testing => No
2008-08-21 16:51pheenanNote Added: 0008656
2008-08-21 16:51pheenanSeveritymajor => minor
2008-08-25 16:33dalsasuaIssue Monitored: dalsasua
2008-09-01 12:26psarobeStatusnew => scheduled
2008-09-01 12:26psarobefix_in_branch => trunk
2008-11-13 22:24rafarodaAssigned Topheenan => Dowid
2009-01-19 16:07DowidRelationship addedrelated to 0004531
2009-03-10 15:31hgbotCheckin
2009-03-10 15:31hgbotNote Added: 0014555
2009-03-10 15:31hgbotStatusscheduled => resolved
2009-03-10 15:31hgbotResolutionopen => fixed
2009-03-10 15:31hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/675283891568c323a953cfab76f0c14998718255 [^]
2009-04-21 10:53psarobeStatusresolved => closed

Notes
(0008656)
pheenan   
2008-08-21 16:51   
After checking this issue in both Oracle and Postgres I am unable to find anything that this issue stops from working.

Appears to only effect the output to the exported XML file. Does not break any reports from what I have seen.
(0014555)
hgbot   
2009-03-10 15:31   
Repository: erp/devel/pi
Changeset: 675283891568c323a953cfab76f0c14998718255
Author: David Abragimov <david.abragimov <at> opensuite.com>
Date: Tue Mar 10 16:16:16 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/675283891568c323a953cfab76f0c14998718255 [^]

Bug fixed 0004666: Import process does not read correctly \n

---
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
---