Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015072Openbravo ERP00. Application dictionarypublic2010-10-28 16:482012-04-02 06:10
azabaleta 
alostale 
normalminoralways
closedfixed 
5
2.50MP22 
3.0MP10 
Core
No
0015072: The display of help of edit of help is broken for module with baseLang != en_us
I dont know more details about this bug. But according to Stefan this bug should be logged here in order to fix it when the time comes.

Regards,

Asier
-Install Spanish translation pack
-Install Spanish module org.openbravo.test.spanishmod (attached)
-Install its English translation org.openbravo.test.spanishmod.enUS (attached)
-Login in Spanish
-Open "Test" window provided by the module and open help -> it should appear in Spanish
-Login in English
-Open "Test" window provided by the module and open help -> it should appear in English
dev-platform-quick-wins
related to defect 00150602.50MP26 closed alostale A user of OpenbravoERP that is not an admin can modify the help of the fields from the help popup. 
related to defect 00146333.0RC4 closed alostale Wrong behaviour when printing messages using OBError, when messages belong to a module whose language is different than English 
? org.openbravo.test.spanishmod-0.0.0.obx (8,293) 2012-03-30 12:01
https://issues.openbravo.com/file_download.php?file_id=5111&type=bug
? org.openbravo.test.spanishmod.enUS-0.0.0.obx (1,872) 2012-03-30 12:02
https://issues.openbravo.com/file_download.php?file_id=5112&type=bug
Issue History
2010-10-28 16:48azabaletaNew Issue
2010-10-28 16:48azabaletaAssigned To => alostale
2010-10-28 16:51shuehnerNote Added: 0032313
2010-10-28 17:14shuehnerIssue Monitored: shuehner
2010-11-02 07:56alostaleStatusnew => scheduled
2010-11-02 07:58alostaleRelationship addedrelated to 0015060
2010-11-17 13:19shuehnerRelationship addedrelated to 0014633
2010-11-17 13:20rafarodaIssue Monitored: rafaroda
2010-11-17 13:20rafarodaTag Attached: dev-platform-quick-wins
2012-03-16 08:58alostaleNote Added: 0046485
2012-03-16 09:02hgbotCheckin
2012-03-16 09:02hgbotNote Added: 0046487
2012-03-16 09:02hgbotStatusscheduled => resolved
2012-03-16 09:02hgbotResolutionopen => fixed
2012-03-16 09:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d14e8752f4e6a0f287b7e1f578cd148363a31123 [^]
2012-03-30 12:01alostaleStatusresolved => new
2012-03-30 12:01alostaleResolutionfixed => open
2012-03-30 12:01alostaleFile Added: org.openbravo.test.spanishmod-0.0.0.obx
2012-03-30 12:02alostaleFile Added: org.openbravo.test.spanishmod.enUS-0.0.0.obx
2012-03-30 12:04alostaleSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=3320#r3320
2012-03-30 12:04alostaleStatusnew => scheduled
2012-03-30 12:04alostalefix_in_branch => pi
2012-03-30 12:04alostaleStatusscheduled => resolved
2012-03-30 12:04alostaleResolutionopen => fixed
2012-03-30 14:18AugustoMauchNote Added: 0046989
2012-03-30 14:18AugustoMauchStatusresolved => closed
2012-03-30 14:18AugustoMauchFixed in Version => 3.0MP10
2012-04-02 06:10hudsonbotCheckin
2012-04-02 06:10hudsonbotNote Added: 0047155

Notes
(0032313)
shuehner   
2010-10-28 16:51   
Details: The code does read the base-table always with lang = en_US and uses the _TRL table only with different languages..

Assume a module with baseLangue = es_ES -> this will have:
base-table: es_ES
_TRL-table: en_US

Which will display the wrong language in that case..

Important: both display and update in that popup are wrong.
(0046485)
alostale   
2012-03-16 08:58   
Fixing display but not edit as editing must be completed re-checked and decided if should be maintained or not.

This fix does not add regression risk.
(0046487)
hgbot   
2012-03-16 09:02   
Repository: erp/devel/pi
Changeset: d14e8752f4e6a0f287b7e1f578cd148363a31123
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Mar 16 09:01:53 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d14e8752f4e6a0f287b7e1f578cd148363a31123 [^]

fixed bug 15072: Help not properly displayed for non en_US modules

  - Now it is always used the trl methods to retrieve help regardless context
    language or module base language, therefore base methods have been removed.
  - In trl methods additional * that were shown in case of no translation present
    have been removed.

---
M src/org/openbravo/erpCommon/ad_help/DisplayHelp_data.xsql
M src/org/openbravo/erpCommon/ad_help/HelpWindow.java
---
(0046989)
AugustoMauch   
2012-03-30 14:18   
Code reviewed at verified in pi@01f4307bcdea
(0047155)
hudsonbot   
2012-04-02 06:10   
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/7814864461ac [^]

Maturity status: Test