Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0031946 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] E. Translation | major | always | 2016-01-19 14:18 | 2016-01-20 09:27 | |||
Reporter | vmromanos | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR16Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 3b0fa2adb27d | ||||
Projection | none | ETA | none | Target Version | 3.0PR16Q1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2014-11-27 | |||||||
Regression introduced in release | 3.0PR15Q2 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/ac68a43ce6569746a77f67d78906d7addbac841b [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0031946: Labels in AD_TextInterfaces linked to a concrete file are not translated | |||||||
Description | The labels in AD_TextInterfaces linked to a concrete file, i.e. which are used only in just one file, are not properly translated. However, the labels that are not linked to a concrete file (AD_TextInterfaces.filename is null because they are used in more than one report) are properly translated | |||||||
Steps To Reproduce | Install the Spanish Translation Pack in a recent PI (3.0PR15Q2 or higher) Login as Openbravo Admin and select Spanish Language Access "Diario asientos" report. Set date from 01-01-2015 to 31-12-2015 and run report in PDF (printer icon) Realize that title appears as "Journal Entries Report" instead of Spanish translation available in the AD_TextInterfaces ("Libro diario") | |||||||
Proposed Solution | ReportingUtils.java, method generateJasperPrint(): String strBaseDesign = DalContextListener.getServletContext().getRealPath("") Value of strBaseDesign is wrong and it should finish with "/src-loc/design" | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0083414) hgbot (developer) 2016-01-19 17:49 |
Repository: erp/backports/3.0PR16Q1 Changeset: 3b0fa2adb27df2f7058418921395b75178b4a5b8 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Tue Jan 19 17:49:23 2016 +0100 URL: http://code.openbravo.com/erp/backports/3.0PR16Q1/rev/3b0fa2adb27df2f7058418921395b75178b4a5b8 [^] fixes issue 31946: Labels linked to a concrete file are not translated The translation engine requires the base design path to retrieve the ad_textinterfaces linked to a particular report. This path was not being sent properly in ReportinUtils class. Now the path is generated correctly making use of a new method called getBaseDesignPath. --- M modules/org.openbravo.client.application/src/org/openbravo/client/application/report/ReportingUtils.java --- |
(0083434) alostale (manager) 2016-01-20 09:27 |
code reviewed + tested |
Issue History | |||
Date Modified | Username | Field | Change |
2016-01-19 14:57 | alostale | Type | defect => backport |
2016-01-19 14:57 | alostale | Target Version | => 3.0PR16Q1 |
2016-01-19 17:41 | caristu | Relationship added | has duplicate 0031953 |
2016-01-19 17:49 | hgbot | Checkin | |
2016-01-19 17:49 | hgbot | Note Added: 0083414 | |
2016-01-19 17:49 | hgbot | Status | scheduled => resolved |
2016-01-19 17:49 | hgbot | Resolution | open => fixed |
2016-01-19 17:49 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR16Q1/rev/3b0fa2adb27df2f7058418921395b75178b4a5b8 [^] |
2016-01-19 17:50 | caristu | Review Assigned To | => alostale |
2016-01-19 17:50 | caristu | Issue Monitored: alostale | |
2016-01-19 17:50 | caristu | Relationship deleted | has duplicate 0031953 |
2016-01-19 18:27 | caristu | Regression introduced by commit | https://code.openbravo.com/erp/devel/main/rev/56f321248289#l10.113 [^] => https://code.openbravo.com/erp/devel/pi/rev/ac68a43ce6569746a77f67d78906d7addbac841b [^] |
2016-01-20 09:27 | alostale | Note Added: 0083434 | |
2016-01-20 09:27 | alostale | Status | resolved => closed |
2016-01-20 09:27 | alostale | Fixed in Version | => 3.0PR16Q1 |
Copyright © 2000 - 2009 MantisBT Group |