Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | |||||||||||
0016186 | |||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||
design defect | [Openbravo ERP] E. Translation | minor | sometimes | 2011-03-09 16:00 | 2022-02-01 08:08 | ||||||
Reporter | ioritzCia | View Status | public | ||||||||
Assigned To | Triage Platform Base | ||||||||||
Priority | low | Resolution | open | Fixed in Version | |||||||
Status | acknowledged | Fix in branch | Fixed in SCM revision | ||||||||
Projection | none | ETA | none | Target Version | |||||||
OS | Any | Database | Any | Java version | |||||||
OS Version | Database version | Ant version | |||||||||
Product Version | 3.0MP0 | SCM revision | |||||||||
Review Assigned To | |||||||||||
Web browser | |||||||||||
Modules | Core | ||||||||||
Regression level | |||||||||||
Regression date | |||||||||||
Regression introduced in release | |||||||||||
Regression introduced by commit | |||||||||||
Triggers an Emergency Pack | No | ||||||||||
Summary | 0016186: There is some failure in translation process. It does not translate some labels. | ||||||||||
Description | There are some labels that are not translated by the translation process. | ||||||||||
Steps To Reproduce | To reproduce this issue try following the next steps. - Log in with spanish translation. - Production Management || Transactions || Process Plan || Process Plan : configure process plan ProcessPlan 1: * Org= Main * Version tab= from 01/01/2005 to 31/12/9999 + Org=Main * Operation tab= org=Main + activity=act + multiplier=1 * IO Products tab= org=Main P- : productA + Decrease=1 + Quantity=1 + Rejected=1 P- : productB + Decrease=1 + Quantity=1 + Rejected=1 P+ : P1+ + Component Cost=1 + Decrease=1 + Quantity=1 + Rejected=1 - Go to header tab and click on printer icon to print pdf file. - See that the only label not translated is 'Secondary Unit: '. - Log in as System Administrator. - Go to Application Dictionary || Text Interfaces - Search for 'Secondary Unit: ' text and 'RptMA_ProcessPlan.jrxml' file name. - Go to translation tab and find that there is a translation line. | ||||||||||
Proposed Solution | Here is what we have discovered: - In TranslationUtils.java file in retrieveLabelData() method there is the following instruction: textmap.put(textData[i].text.replace((char) 160, ' ').trim(), textData[i].trltext); - Later, in TranslationHandler.java in createInputStream(File) method there is the following line: String result = formLabels.get(text); In case the label has a space at the end (as in this case), there is a failure because in textmap was entered without a space in the end and in the second instruction is being checked with the space. It has been tried to modify the second instruction to this: String result = formLabels.get(text.trim()); and it does not work. And also we do not know if that is a proper change for all the rest of the cases. | ||||||||||
Tags | No tags attached. | ||||||||||
Attached Files | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0040593) jonalegriaesarte (reporter) 2011-08-31 11:29 |
Due to the load with other issues we were not able to research this one for MP3, are planning MP4 for it now. |
(0052459) AugustoMauch (administrator) 2012-09-24 23:23 |
Impact: mid Plan: long |
Issue History | |||
Date Modified | Username | Field | Change |
2011-03-09 16:00 | ioritzCia | New Issue | |
2011-03-09 16:00 | ioritzCia | Assigned To | => alostale |
2011-03-09 16:00 | ioritzCia | Modules | => Core |
2011-03-09 16:01 | ioritzCia | Relationship added | related to 0015754 |
2011-03-14 10:56 | alostale | Status | new => scheduled |
2011-04-26 16:19 | dalsasua | Issue Monitored: networkb | |
2011-06-08 10:35 | jonalegriaesarte | Target Version | => 2.50MP32 |
2011-07-21 13:45 | jonalegriaesarte | Target Version | 2.50MP32 => 3.0MP3 |
2011-07-21 13:45 | jonalegriaesarte | version | 2.50MP26 => 3.0MP0 |
2011-08-31 11:29 | jonalegriaesarte | Note Added: 0040593 | |
2011-08-31 11:29 | jonalegriaesarte | Target Version | 3.0MP3 => 3.0MP4 |
2011-09-27 13:03 | alostale | Target Version | 3.0MP4 => 3.0MP5 |
2011-10-31 14:28 | alostale | Target Version | 3.0MP5 => 3.0MP6 |
2011-11-15 08:41 | alostale | Tag Attached: nextMP | |
2011-11-15 08:42 | alostale | Target Version | 3.0MP6 => 3.0MP10 |
2011-11-16 16:53 | alostale | Tag Detached: nextMP | |
2011-11-16 16:53 | alostale | Type | defect => design defect |
2011-11-16 16:53 | alostale | Target Version | 3.0MP10 => |
2012-09-24 23:23 | AugustoMauch | Note Added: 0052459 | |
2012-09-24 23:23 | AugustoMauch | Priority | high => low |
2017-03-31 14:36 | alostale | Status | scheduled => acknowledged |
2017-04-10 14:34 | alostale | Assigned To | alostale => platform |
2022-02-01 08:08 | alostale | Assigned To | platform => Triage Platform Base |
Copyright © 2000 - 2009 MantisBT Group |