Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0031944Openbravo ERPE. Translationpublic2016-01-19 14:182016-03-17 10:54
vmromanos 
caristu 
immediateminoralways
closedfixed 
5
 
3.0PR16Q2 
alostale
Core
Production - Confirmed Stable
2014-11-27
3.0PR15Q2
https://code.openbravo.com/erp/devel/pi/rev/ac68a43ce6569746a77f67d78906d7addbac841b [^]
No
0031944: Labels in AD_TextInterfaces linked to a concrete file are not translated
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
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")
ReportingUtils.java, method generateJasperPrint():
 String strBaseDesign = DalContextListener.getServletContext().getRealPath("")

Value of strBaseDesign is wrong and it should finish with "/src-loc/design"
No tags attached.
depends on backport 00319463.0PR16Q1 closed caristu Openbravo ERP Labels in AD_TextInterfaces linked to a concrete file are not translated 
depends on backport 00319473.0PR15Q4.2 closed caristu Openbravo ERP Labels in AD_TextInterfaces linked to a concrete file are not translated 
depends on backport 00319483.0PR15Q3.5 closed caristu Openbravo ERP Labels in AD_TextInterfaces linked to a concrete file are not translated 
caused by feature request 0029566 closed caristu Openbravo ERP Upgrade Jasper Libraries 
has duplicate defect 0031900 closed vmromanos Localization Pack: Spain Report title not translated 
has duplicate defect 0031925 closed vmromanos Modules Header information not translated when printing remittance document in Spanish language 
Issue History
2016-01-19 14:18vmromanosNew Issue
2016-01-19 14:18vmromanosAssigned To => platform
2016-01-19 14:18vmromanosModules => Core
2016-01-19 14:18vmromanosTriggers an Emergency Pack => No
2016-01-19 14:21vmromanosRegression level => Production - Confirmed Stable
2016-01-19 14:21vmromanosRegression date => 2014-11-27
2016-01-19 14:21vmromanosRegression introduced in release => 3.0PR15Q2
2016-01-19 14:21vmromanosRegression introduced by commit => https://code.openbravo.com/erp/devel/main/rev/56f321248289#l10.113 [^]
2016-01-19 14:21vmromanosNote Added: 0083400
2016-01-19 14:21vmromanosDescription Updatedbug_revision_view_page.php?rev_id=10703#r10703
2016-01-19 14:22vmromanosRelationship addedcauses 0031900
2016-01-19 14:23vmromanosRelationship replacedhas duplicate 0031900
2016-01-19 14:24vmromanosRelationship addedhas duplicate 0031925
2016-01-19 14:56alostaleStatusnew => acknowledged
2016-01-19 14:56alostaleAssigned Toplatform => caristu
2016-01-19 14:57alostaleStatusacknowledged => scheduled
2016-01-19 14:57alostalePrioritynormal => immediate
2016-01-19 17:03heccamIssue Monitored: heccam
2016-01-19 17:38caristuStatusscheduled => acknowledged
2016-01-19 17:38caristuRegression introduced by commithttps://code.openbravo.com/erp/devel/main/rev/56f321248289#l10.113 [^] => https://code.openbravo.com/erp/devel/pi/rev/ac68a43ce6569746a77f67d78906d7addbac841b [^]
2016-01-19 17:39caristuStatusacknowledged => scheduled
2016-01-19 17:42caristuRelationship deleteddepends on 0031953
2016-01-19 17:42caristuRelationship deleteddepends on 0031954
2016-01-19 17:43caristuRelationship deleteddepends on 0031955
2016-01-19 17:47hgbotCheckin
2016-01-19 17:47hgbotNote Added: 0083413
2016-01-19 17:47hgbotStatusscheduled => resolved
2016-01-19 17:47hgbotResolutionopen => fixed
2016-01-19 17:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4d04e9933ae633ccaf5f8b72bf2ef63a742b3967 [^]
2016-01-19 18:08caristuNote Added: 0083419
2016-01-19 18:32alostaleRelationship addedcaused by 0029566
2016-01-20 09:26alostaleReview Assigned To => alostale
2016-01-20 09:26alostaleNote Added: 0083433
2016-01-20 09:26alostaleStatusresolved => closed
2016-01-20 09:26alostaleFixed in Version => 3.0PR16Q2
2016-01-20 09:33alostaleNote Added: 0083438
2016-01-20 09:33alostaleSeveritymajor => minor
2016-03-17 10:54hudsonbotCheckin
2016-03-17 10:54hudsonbotNote Added: 0085055

Notes
(0083400)
vmromanos   
2016-01-19 14:21   
Backports required
(0083413)
hgbot   
2016-01-19 17:47   
Repository: erp/devel/pi
Changeset: 4d04e9933ae633ccaf5f8b72bf2ef63a742b3967
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Jan 19 17:46:10 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/4d04e9933ae633ccaf5f8b72bf2ef63a742b3967 [^]

fixes issue 31944: 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
---
(0083419)
caristu   
2016-01-19 18:08   
Added new test into Testlink: https://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-9985 [^]
(0083433)
alostale   
2016-01-20 09:26   
code reviewed + tested
(0083438)
alostale   
2016-01-20 09:33   
Downgraded severity from major to minor.

According to Reporting Guidelines [1]:
  "Minor: Do not result in failure but causes the system to show incorrect, incomplete, or inconsistent results [...]"

[1] http://wiki.openbravo.com/wiki/Bug_Reporting_Guidelines#How_to_Choose_the_Right_Severity [^] [^]
(0085055)
hudsonbot   
2016-03-17 10:54   
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/b22fb0500156 [^]
Maturity status: Test