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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0007222
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 00. Application dictionaryminoralways2009-01-26 18:422009-03-05 10:28
ReporternetworkbView Statuspublic 
Assigned Toiperdomo 
PriorityimmediateResolutionfixedFixed in Version2.40MP3
StatusclosedFix in branch2.40Fixed in SCM revision12467
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.40SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0007222: The first time a report with special characteres is compiled, translation fails

DescriptionIf a static field in a report contains special characters, like ñ,ó,á...and is compiled (ant compile.development -Dtab=xx), the translation fails.
If you want to see the report, special character will be showed uncorrectly.
If you compile again the application (using the same sentence), translation is done properly but the problem persists.
Steps To Reproduce1. Modify a report (for example RptC_OrderPO_Lines.jrxml). Add a static text like Descripción.
2. Compile it with iReports.
3. Copy the .jasper generated into erpReports folder.
4. Compile the application using: ant compile.development -Dtab=xx
5. Warning appears like this one: compile.translate:
     [java] 0 [main] WARN org.openbravo.translate.Translate - Couldn't translate: Descripci├│n.Result translated: Descripci├│n.Actual file: /org/openbravo/erpReports/RptC_OrderPO_Lines.jrxml

6. Restart Tomcat and go to Purchase Order.
7. Press "Printer" button.
8. The report shows an uncorrectly character (see the attached file)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0007142 closediperdomo The first time a report with special characteres is compiled, translation fails 

-  Notes
(0012812)
svnbot (reporter)
2009-01-29 13:04

Repository: openbravo
Revision: 12467
Author: iperdomo
Date: 2009-01-29 13:04:41 +0100 (Thu, 29 Jan 2009)

Fixes issue 7222: Force file reading in utf-8

---
U branches/r2.40/src-trl/src/org/openbravo/translate/Translate.java
---

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

- Issue History
Date Modified Username Field Change
2009-01-29 13:01 iperdomo Type defect => backport
2009-01-29 13:01 iperdomo fix_in_branch => 2.40
2009-01-29 13:04 svnbot Checkin
2009-01-29 13:04 svnbot Note Added: 0012812
2009-01-29 13:04 svnbot Status scheduled => resolved
2009-01-29 13:04 svnbot Resolution open => fixed
2009-01-29 13:04 svnbot svn_revision => 12467
2009-03-03 17:32 psarobe Fixed in Version => 2.40MP3
2009-03-05 10:28 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker