Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007687Openbravo ERPE. Translationpublic2009-02-19 16:572009-04-22 00:00
pheenan 
pheenan 
urgentmajoralways
closedfixed 
5
pi 
pi2.50beta 
Core
No
0007687: Field labels being returned as "null"
When a new column/field is created the field name is returned as null.
Refactor the FieldLabelsData.select method to make it language agnostic. Remove the if clause which is hardcoded with 'en_US' in TranslationUtils. Return a dynamic result set that retrieves the default label and any translations that exist correctly.
commsup_sprint6
Issue History
2009-02-19 16:57pheenanNew Issue
2009-02-19 16:57pheenanAssigned To => pheenan
2009-02-19 16:57pheenanRegression testing => No
2009-02-19 16:57pheenanStatusnew => scheduled
2009-02-19 16:57pheenanfix_in_branch => trunk
2009-02-19 21:38svnbotCheckin
2009-02-19 21:38svnbotNote Added: 0013771
2009-02-19 21:38svnbotStatusscheduled => resolved
2009-02-19 21:38svnbotResolutionopen => fixed
2009-02-19 21:38svnbotsvn_revision => 13433
2009-02-20 11:10pheenanTag Attached: commsup_sprint6
2009-04-21 10:33psarobeStatusresolved => closed
2009-04-22 00:00anonymoussf_bug_id0 => 2777970

Notes
(0013771)
svnbot   
2009-02-19 21:38   
Repository: openbravo
Revision: 13433
Author: pheenan
Date: 2009-02-19 21:38:48 +0100 (Thu, 19 Feb 2009)

Fixed 7687. Updated query in FieldLabelsData so that in all instance a single query can be used which checks the columns base language and the users current language.

---
U trunk/src-core/src/org/openbravo/uiTranslation/FieldLabelsData.java
U trunk/src-core/src/org/openbravo/uiTranslation/TranslationHandler.java
U trunk/src-core/src/org/openbravo/uiTranslation/TranslationUtils.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=13433&sc=1 [^]