Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0025493 | Openbravo ERP | E. Translation | public | 2014-01-16 16:22 | 2014-02-13 12:28 |
Reporter | egoitz | ||||
Assigned To | shankarb | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | 3.0PR14Q2 | Fixed in Version | 3.0PR14Q2 | ||
Merge Request Status | |||||
Review Assigned To | AugustoMauch | ||||
OBNetwork customer | OBPS | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | 25681 | ||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0025493: The text on a report of a module not in english can be replaced with a transaltion if the literal is alrady transalted | ||||
Description | The text on a report of a module not in english can be replaced with a transaltion if the literal is alrady transalted. The steps to reproduce describes and example: | ||||
Steps To Reproduce | -Install the spanish transalation pack -Define a new module in spanish -Crea a new jrxml to be assigned to the invoices. -Define the new report as a template for the document type for invoices. -Add on the jrxml the literal "Invoice" on a static text (you want to be printed without translate) -Compile the application with compile.complete -Restart tomcat -Check that there is a textinferfaces for your jrmxl file with text Invoices and that the transalation is for english because the textinterfacs belong to a module defined on spanish. -Print an invoice *See that the text "Invoice" is translated to "Factura" but you wanted to print "Invoice" | ||||
Proposed Solution | See the attached file. The problem was that although the translations where properly ordered on the select, after that a hash map is filled witht the result of the query. The array with the result of the query is readed in order so if there are two results with the same text on the query, the second one replaces the first when filling the hash map | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=6644&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-01-16 16:22 | egoitz | New Issue | |||
2014-01-16 16:22 | egoitz | Assigned To | => AugustoMauch | ||
2014-01-16 16:22 | egoitz | File Added: TranslationUtils.diff | |||
2014-01-16 16:22 | egoitz | Modules | => Core | ||
2014-01-16 16:22 | egoitz | OBNetwork customer | => Yes | ||
2014-01-16 16:22 | egoitz | Support ticket | => 25681 | ||
2014-01-16 16:22 | egoitz | Resolution time | => 1392332400 | ||
2014-01-16 16:22 | egoitz | Triggers an Emergency Pack | => No | ||
2014-01-20 10:00 | shankarb | Assigned To | AugustoMauch => shankarb | ||
2014-01-28 06:45 | shankarb | Status | new => scheduled | ||
2014-01-28 06:45 | shankarb | fix_in_branch | => pi | ||
2014-01-28 06:47 | shankarb | Review Assigned To | => AugustoMauch | ||
2014-01-28 06:47 | shankarb | fix_in_branch | pi => | ||
2014-01-28 06:47 | shankarb | Issue Monitored: AugustoMauch | |||
2014-01-28 06:51 | hgbot | Checkin | |||
2014-01-28 06:51 | hgbot | Note Added: 0063732 | |||
2014-01-28 06:51 | hgbot | Status | scheduled => resolved | ||
2014-01-28 06:51 | hgbot | Resolution | open => fixed | ||
2014-01-28 06:51 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/dd222399853ef3d618728c023128f98c04623864 [^] | ||
2014-02-12 18:29 | hudsonbot | Checkin | |||
2014-02-12 18:29 | hudsonbot | Note Added: 0064121 | |||
2014-02-13 12:28 | AugustoMauch | Note Added: 0064223 | |||
2014-02-13 12:28 | AugustoMauch | Status | resolved => closed | ||
2014-02-13 12:28 | AugustoMauch | Fixed in Version | => 3.0MP32 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|