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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0006833
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2009-01-09 18:592009-04-21 12:36
ReportershuehnerView Statuspublic 
Assigned Toshuehner 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision12074
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0006833: Some printing + outgoing Email (i.e. from Sales invoice) does not work with Language != en_US

DescriptionThe outgoing Email project was not updated for the new-style translation management which does translation at runtime and not compilation time.

=> Does not work with language != english
=> Ignores translation
Steps To ReproduceInstall any extra translation
Change language to this new translation
Go to i.e. Sales Invoice
Use either the print button or the email button in the toolbar.
Proposed SolutionAdapt PrintController/ReportManager classes to new-style translation.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0012074)
shuehner (administrator)
2009-01-09 19:03

First problem is that this code tries to look for the templates/reports in src-loc/<language code> , but now all templates are always underneath src-loc/design.

Second problem is that PrintController/ReportManager do not use the TranslationHandler for online-translating the templates. They should be adapted similar to HttpSecureAppServlet.renderJR or both codepath be perhaps merged.
(0012409)
svnbot (reporter)
2009-01-20 18:31

Repository: openbravo
Revision: 12074
Author: huehner
Date: 2009-01-20 18:31:09 +0100 (Tue, 20 Jan 2009)

Fixed 6833
Unify the jrxml file-loading copies in three places:
- HttpSecureAppServlet.renderJR, ReportManager, JasperProcess (currently unused)
- fix two copies ReportManager, JasperProcess to use the new translation handling in trunk
  fixing them with language != en_US

---
U trunk/src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
U trunk/src/org/openbravo/erpCommon/ad_process/JasperProcess.java
U trunk/src/org/openbravo/erpCommon/utility/Utility.java
U trunk/src/org/openbravo/erpCommon/utility/reporting/ReportManager.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=12074&sc=1 [^]

- Issue History
Date Modified Username Field Change
2009-01-09 18:59 shuehner New Issue
2009-01-09 18:59 shuehner Assigned To => shuehner
2009-01-09 18:59 shuehner sf_bug_id 0 => 2496196
2009-01-09 18:59 shuehner Regression testing => No
2009-01-09 19:03 shuehner Note Added: 0012074
2009-01-19 10:10 psarobe Status new => scheduled
2009-01-19 10:10 psarobe fix_in_branch => trunk
2009-01-20 18:31 svnbot Checkin
2009-01-20 18:31 svnbot Note Added: 0012409
2009-01-20 18:31 svnbot Status scheduled => resolved
2009-01-20 18:31 svnbot Resolution open => fixed
2009-01-20 18:31 svnbot svn_revision => 12074
2009-04-21 12:36 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker