Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0004915Openbravo ERPE. Translationpublic2008-09-09 17:262009-05-21 18:12
rafaroda 
Dowid 
normalminoralways
closedfixed 
20Ubuntu 7.10
pi 
2.40MP4 
Core
No
0004915: 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.
blocks defect 0004666 closed Dowid Import process does not read correctly \n 
Issue History
2008-09-09 17:26anonymousNew Issue
2008-09-09 17:26anonymousAssigned To => pheenan
2008-09-09 17:26anonymousStatusnew => scheduled
2008-09-09 17:26anonymousfix_in_branch => 2.40
2008-11-13 22:24rafarodaAssigned Topheenan => Dowid
2009-03-12 14:45hgbotCheckin
2009-03-12 14:45hgbotNote Added: 0014610
2009-03-12 14:45hgbotStatusscheduled => resolved
2009-03-12 14:45hgbotResolutionopen => fixed
2009-03-12 14:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/73aeae35b9351bb06792791536dd2e33471121e5 [^]
2009-03-24 11:01psarobeFixed in Version => 2.40MP4
2009-05-21 18:12psarobeStatusresolved => closed

Notes
(0014610)
hgbot   
2009-03-12 14:45   
Repository: erp/stable/2.40
Changeset: 73aeae35b9351bb06792791536dd2e33471121e5
Author: David Abragimov <david.abragimov <at> opensuite.com>
Date: Thu Mar 12 15:41:33 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/73aeae35b9351bb06792791536dd2e33471121e5 [^]

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

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