Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0007086 | Openbravo ERP | B. User interface | public | 2009-01-20 16:13 | 2009-03-05 09:48 |
|
Reporter | networkb | |
Assigned To | iperdomo | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 2.40 | |
Target Version | | Fixed in Version | 2.40MP3 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0007086: Language translations are not working in Jasper-subreports |
Description | Language translations are not working in Jasper-subreports |
Steps To Reproduce | To generate this bug please reproduce the following steps:
-Create a jasper report by means of iReport with this structure: one parent report and two sub-reports.
-Create three *.jrxml files. These files should contain static texts and text fields that need to be automatically translated by the ERP application. Once finished, compile the three *.jrxml in order to create the corresponding *.jasper files.
-Upload them (in total 6 files) into the environment (/ad_reports).
-Compile complete (my case is 2.40 Network).
-Go to the ERP and generate the corresponding report.
-See that some sub-report fields have not been translated automatically. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | defect | 0007298 | 2.40MP2 | closed | jpabloae | Openbravo Deployment Options | Locales set to ASCII when compiling from the web console | depends on | defect | 0007299 | 2.40MP2 | closed | jpabloae | Openbravo Deployment Options | The custom web console compilation task fails with -D ant options | blocks | defect | 0007030 | | closed | iperdomo | Openbravo ERP | Language translations are not working in Jasper-subreports |
|
Attached Files | compile.jasper.diff (1,889) 2009-01-23 13:12 https://issues.openbravo.com/file_download.php?file_id=711&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2009-01-23 10:53 | iperdomo | Type | defect => backport |
2009-01-23 10:53 | iperdomo | fix_in_branch | => 2.40 |
2009-01-23 13:12 | iperdomo | File Added: compile.jasper.diff | |
2009-01-23 13:39 | iperdomo | Note Added: 0012569 | |
2009-01-27 18:33 | networkb | Note Added: 0012705 | |
2009-01-27 18:35 | networkb | Note Added: 0012706 | |
2009-01-27 18:38 | networkb | Note Added: 0012708 | |
2009-01-27 20:11 | svnbot | Checkin | |
2009-01-27 20:11 | svnbot | Note Added: 0012712 | |
2009-01-27 20:11 | svnbot | Status | scheduled => resolved |
2009-01-27 20:11 | svnbot | Resolution | open => fixed |
2009-01-27 20:11 | svnbot | svn_revision | => 12338 |
2009-01-29 17:33 | networkb | Note Added: 0012842 | |
2009-01-29 21:21 | iperdomo | Note Added: 0012861 | |
2009-01-30 10:11 | rafaroda | Status | resolved => new |
2009-01-30 10:11 | rafaroda | Resolution | fixed => open |
2009-01-30 10:11 | rafaroda | Note Added: 0012870 | |
2009-01-30 10:12 | rafaroda | Status | new => acknowledged |
2009-01-30 11:07 | jpabloae | Note Added: 0012873 | |
2009-01-30 13:58 | iperdomo | Status | acknowledged => scheduled |
2009-01-30 13:58 | iperdomo | fix_in_branch | 2.40 => trunk |
2009-01-30 13:59 | iperdomo | fix_in_branch | trunk => 2.40 |
2009-01-31 10:55 | jpabloae | Relationship added | depends on 0007298 |
2009-01-31 10:58 | jpabloae | Relationship added | depends on 0007299 |
2009-01-31 11:06 | jpabloae | Note Added: 0012962 | |
2009-02-02 07:19 | svnbot | Checkin | |
2009-02-02 07:19 | svnbot | Note Added: 0012976 | |
2009-02-02 07:19 | svnbot | Status | scheduled => resolved |
2009-02-02 07:19 | svnbot | Resolution | open => fixed |
2009-02-02 07:19 | svnbot | svn_revision | 12338 => 12621 |
2009-02-02 10:22 | svnbot | Checkin | |
2009-02-02 10:22 | svnbot | Note Added: 0012985 | |
2009-02-02 10:22 | svnbot | svn_revision | 12621 => 12634 |
2009-02-02 12:03 | svnbot | Checkin | |
2009-02-02 12:03 | svnbot | Note Added: 0013002 | |
2009-02-02 12:03 | svnbot | svn_revision | 12634 => 12642 |
2009-03-03 17:32 | psarobe | Fixed in Version | => 2.40MP3 |
2009-03-05 09:48 | psarobe | Status | resolved => closed |
Notes |
|
|
A new task was added to compile all the reports in ad_reports folder.
Usage:
ant compile.jasper -Dlang=es_ES
Where es_ES is the language installed in the system on which we want to generate the .jasper from .jrxml
This will delete all the .jasper files in WebContent/src-loc/es_ES/org/openbravo/erpCommon/ad_reports and recompile them (create a .jasper)
Note: New .jasper files will be created for header reports, even if those are not used. |
|
|
|
I have followed this steps:
Modify build.xml and /src/build.xml files (using .diff file)
Compile using: ant compile.jasper -Dlang=es_ES
ant war
Restart Tomcat.
Using the application in Spanish, execute "Cash" report (ReportCashJR) and texts are not translated. |
|
|
|
Sorry, the report is translated |
|
|
|
Only one thing: erpReports folder is not included in new ant task.
It should contain it. |
|
|
(0012712)
|
svnbot
|
2009-01-27 20:11
|
|
Repository: openbravo
Revision: 12338
Author: iperdomo
Date: 2009-01-27 20:11:00 +0100 (Tue, 27 Jan 2009)
Fixes issue 7086: Added new compilation task for jasper reports
---
U branches/r2.40/build.xml
U branches/r2.40/src/build.xml
---
https://dev.openbravo.com/websvn/openbravo/?rev=12338&sc=1 [^]
|
|
|
|
I would like to know how this solution can be applied in OBN SMB. A new task for compilation is required? |
|
|
|
I'm trying to figure out how can you execute this task from OBN web admin console. |
|
|
|
A solution has to be found in order the fix to work using Openbravo Network administration console. |
|
|
|
There are 2 issues:
1) The first one has been solved with the addition of the new ant task.
2) The other one is that the web console has a bug when running custom tasks.
I think we should not work around the 2nd issue, but solve it in the web console. The solution to be able to run the ant task from the web console is to fix the web console. |
|
|
|
The fixes on the OBN web console side will be available in the 2.40MP2 release. 2 issues linked. |
|
|
(0012976)
|
svnbot
|
2009-02-02 07:19
|
|
Repository: openbravo
Revision: 12621
Author: iperdomo
Date: 2009-02-02 07:19:37 +0100 (Mon, 02 Feb 2009)
Fixes issue 7086: JRXML templates are compiled on translation process. Removed compile.jasper task because is not longer useful
---
U branches/r2.40/build.xml
U branches/r2.40/src/build.xml
A branches/r2.40/src-trl/lib/jasperreports-1.3.3.jar
U branches/r2.40/src-trl/src/org/openbravo/translate/Translate.java
---
https://dev.openbravo.com/websvn/openbravo/?rev=12621&sc=1 [^]
|
|
|
(0012985)
|
svnbot
|
2009-02-02 10:22
|
|
Repository: openbravo
Revision: 12634
Author: rafaroda
Date: 2009-02-02 10:22:05 +0100 (Mon, 02 Feb 2009)
Fixes issue 7086 Included classpathentry for jasperreports-1.3.3.jar in OpenbravoTrl project .classpath
---
U branches/r2.40/src-trl/.classpath
---
https://dev.openbravo.com/websvn/openbravo/?rev=12634&sc=1 [^]
|
|
|
(0013002)
|
svnbot
|
2009-02-02 12:03
|
|
Repository: openbravo
Revision: 12642
Author: iperdomo
Date: 2009-02-02 12:03:52 +0100 (Mon, 02 Feb 2009)
Fixes issue 7086: Solved problem when no system language is installed
---
U branches/r2.40/src-trl/src/org/openbravo/translate/Translate.java
---
https://dev.openbravo.com/websvn/openbravo/?rev=12642&sc=1 [^]
|
|