Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0007086
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] B. User interfacemajoralways2009-01-20 16:132009-03-05 09:48
ReporternetworkbView Statuspublic 
Assigned Toiperdomo 
PriorityimmediateResolutionfixedFixed in Version2.40MP3
StatusclosedFix in branch2.40Fixed in SCM revision12642
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseOracleJava version
OS VersionDatabase versionAnt version
Product Version2.40SCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerOBPS
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0007086: Language translations are not working in Jasper-subreports

DescriptionLanguage translations are not working in Jasper-subreports
Steps To ReproduceTo 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.
TagsNo tags attached.
Attached Filesdiff file icon compile.jasper.diff [^] (1,889 bytes) 2009-01-23 13:12 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 00072982.40MP2 closedjpabloae Openbravo Deployment Options Locales set to ASCII when compiling from the web console 
depends on defect 00072992.40MP2 closedjpabloae Openbravo Deployment Options The custom web console compilation task fails with -D ant options 
blocks defect 0007030 closediperdomo Openbravo ERP Language translations are not working in Jasper-subreports 

-  Notes
(0012569)
iperdomo (viewer)
2009-01-23 13:39

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.
(0012705)
networkb (viewer)
2009-01-27 18:33

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.
(0012706)
networkb (viewer)
2009-01-27 18:35

Sorry, the report is translated
(0012708)
networkb (viewer)
2009-01-27 18:38

Only one thing: erpReports folder is not included in new ant task.
It should contain it.
(0012712)
svnbot (viewer)
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 [^]
(0012842)
networkb (viewer)
2009-01-29 17:33

I would like to know how this solution can be applied in OBN SMB. A new task for compilation is required?
(0012861)
iperdomo (viewer)
2009-01-29 21:21

I'm trying to figure out how can you execute this task from OBN web admin console.
(0012870)
rafaroda (viewer)
2009-01-30 10:11

A solution has to be found in order the fix to work using Openbravo Network administration console.
(0012873)
jpabloae (viewer)
2009-01-30 11:07

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.
(0012962)
jpabloae (viewer)
2009-01-31 11:06

The fixes on the OBN web console side will be available in the 2.40MP2 release. 2 issues linked.
(0012976)
svnbot (viewer)
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 (viewer)
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 (viewer)
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 [^]

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker