Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016526
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformminoralways2011-03-25 15:542011-05-24 17:28
ReporteregoitzView Statuspublic 
Assigned Toalostale 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branch2.50Fixed in SCM revisiondf4ea4945c39
ProjectionnoneETAnoneTarget Version2.50MP30
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP25SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0016526: The forms are not properly translated with ad_textinterfaces defined for a file when the module does not extart with org

DescriptionThe forms are not properly translated with ad_textinterfaces defined for a file when the module does not extart with org.

The problema is that in the xmlDocument, the filepath received, is modified by replacing designorg/ with /org/,
but in this case, the filepath starts with
designcom/ so it is not modified.

Then this filepath is used to find the correct textiterface translation, but it does not exit.

The file is:

src-core/src/org/openbravo/xmlEngine/XmlDocument.java

lines 232 and 233 on pi.
Steps To ReproduceIn an application with a translation installed, for example spain:
-Create a new modules wich package name starts with com.
for example: com.openbravo.gps
-Create a form and define it on the application.
-Compile the whole application.
-Go the the textinterfaces window, and translate the new entries for the new form.
(see that the file starts with /com/openbravo/gps/...)
-Execute the form using spanish and see that the text is not translated.

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00164932.50MP30 closedalostale The forms are not properly translated with ad_textinterfaces defined for a file when the module does not extart with org 

-  Notes
(0037084)
hgbot (developer)
2011-05-17 15:45

Repository: erp/stable/2.50
Changeset: df4ea4945c391b8e9579a44bc7b1aaf788418670
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue May 17 15:44:58 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/df4ea4945c391b8e9579a44bc7b1aaf788418670 [^]

fixed bug 16526: Fixed translation of 2.50 forms within non org.* modules

---
M src-core/src/org/openbravo/xmlEngine/XmlDocument.java
---
(0037398)
shuehner (administrator)
2011-05-24 17:28

Reviewed and tested using module provided by reporter in stable/2.50 (rev: ed0418b01ffc). Now working fine the translations are also applied in case the java-package does not start with 'org.'

- Issue History
Date Modified Username Field Change
2011-03-29 09:09 alostale Type defect => backport
2011-03-29 09:09 alostale fix_in_branch => 2.50
2011-04-26 16:20 dalsasua Issue Monitored: networkb
2011-05-17 15:45 hgbot Checkin
2011-05-17 15:45 hgbot Note Added: 0037084
2011-05-17 15:45 hgbot Status scheduled => resolved
2011-05-17 15:45 hgbot Resolution open => fixed
2011-05-17 15:45 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/df4ea4945c391b8e9579a44bc7b1aaf788418670 [^]
2011-05-24 07:17 dalsasua Issue Monitored: dalsasua
2011-05-24 17:28 shuehner Note Added: 0037398
2011-05-24 17:28 shuehner Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker