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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016493
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2011-03-25 15:542011-05-26 07:44
ReporteregoitzView Statuspublic 
Assigned Toalostale 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisiondf63617733fd
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

0016493: 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 ]
depends on backport 00165262.50MP30 closedalostale The forms are not properly translated with ad_textinterfaces defined for a file when the module does not extart with org 

-  Notes
(0037095)
hgbot (developer)
2011-05-17 16:45

Repository: erp/devel/pi
Changeset: df63617733fd9ccfdc5b550bdfd8b4aabb544694
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue May 17 15:41:26 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/df63617733fd9ccfdc5b550bdfd8b4aabb544694 [^]

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

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

Reviewed. Closing without extra testing as was tested in 2.50-backport and changed file is identical between latest stable/2.50 and pi.
(0037476)
hudsonbot (developer)
2011-05-26 07:44

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/728387046be6 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2011-03-25 15:54 egoitz New Issue
2011-03-25 15:54 egoitz Assigned To => alostale
2011-03-25 15:54 egoitz Modules => Core
2011-03-25 16:03 egoitz Description Updated View Revisions
2011-03-25 16:04 egoitz Target Version 2.50MP29 => 2.50MP30
2011-03-25 16:04 egoitz Issue Monitored: networkb
2011-03-29 09:09 alostale Status new => scheduled
2011-03-29 09:09 alostale fix_in_branch => pi
2011-05-17 16:45 hgbot Checkin
2011-05-17 16:45 hgbot Note Added: 0037095
2011-05-17 16:45 hgbot Status scheduled => resolved
2011-05-17 16:45 hgbot Resolution open => fixed
2011-05-17 16:45 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/df63617733fd9ccfdc5b550bdfd8b4aabb544694 [^]
2011-05-24 17:54 shuehner Note Added: 0037400
2011-05-24 17:54 shuehner Status resolved => closed
2011-05-26 07:44 hudsonbot Checkin
2011-05-26 07:44 hudsonbot Note Added: 0037476


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker