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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026986
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2014-07-01 13:062014-08-08 18:53
ReportercaristuView Statuspublic 
Assigned Toshankarb 
PriorityurgentResolutionfixedFixed in Version3.0PR14Q4
StatusclosedFix in branchFixed in SCM revisioncb41da47b353
ProjectionnoneETAnoneTarget Version3.0PR14Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0026986: Some characters are not printed after switching the template to use in the Email options window

DescriptionSome characters like ü, ö, ä , ß are printed correctly when the first template to use is loaded in the Email options window. If after that, we switch to another template to use this characters are not printed correctly.
Steps To Reproduce1) Configure a document type to have two report templates, each one with an email template. Add some of the following characters in the body: ü, ö, ä , ß for both email templates.

2) Create a document with the previous document type and complete it. Once done, click on the send button of the toolbar in order to see the Email Options window.

3) Notice that the characters added in step 1) are correctly displayed for the template shown as default.

4) Switch to use the other template, notice that the characters are not correctly shown.

5) Switch again to the first template, now the characters are not shown correctly either.
Proposed SolutionIn the PrintController class, the response once the template is updated is configured as follows:

response.setContentType("application/json;);

Adding charset=UTF-8 to this response makes the characters appear properly
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00255123.0PR14Q2 closedshankarb Not possible to use different email definitions when sending multiple documents by email 

-  Notes
(0068585)
shankarb (reporter)
2014-07-11 06:00

Fix pushed to try
(0068590)
hgbot (developer)
2014-07-11 13:10

Repository: erp/devel/pi
Changeset: cb41da47b353600921298d6e5a92dc45dc48fce3
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Fri Jul 11 09:40:38 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/cb41da47b353600921298d6e5a92dc45dc48fce3 [^]

Fixes Issue 26986: Some characters are not printed in email Options window

Some characters are not printed after switching the template to use in the Email options window.
set character encoding to UTF-8 in the response types.

---
M src/org/openbravo/erpCommon/utility/reporting/printing/PrintController.java
---
(0068609)
AugustoMauch (manager)
2014-07-14 10:50

Code reviewed and verified in pi@119c05bb76af
(0069151)
hudsonbot (developer)
2014-08-08 18:53

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/4450016dee64 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2014-07-01 13:06 caristu New Issue
2014-07-01 13:06 caristu Assigned To => AugustoMauch
2014-07-01 13:06 caristu Modules => Core
2014-07-01 13:06 caristu Resolution time => 1407103200
2014-07-01 13:06 caristu Triggers an Emergency Pack => No
2014-07-01 13:07 caristu Issue Monitored: networkb
2014-07-01 13:07 caristu Target Version PR14Q3 => PR14Q4
2014-07-01 13:15 caristu Relationship added related to 0025512
2014-07-11 06:00 shankarb Assigned To AugustoMauch => shankarb
2014-07-11 06:00 shankarb Status new => scheduled
2014-07-11 06:00 shankarb Note Added: 0068585
2014-07-11 06:00 shankarb fix_in_branch => pi
2014-07-11 13:08 shankarb Review Assigned To => AugustoMauch
2014-07-11 13:08 shankarb fix_in_branch pi =>
2014-07-11 13:08 shankarb Issue Monitored: AugustoMauch
2014-07-11 13:10 hgbot Checkin
2014-07-11 13:10 hgbot Note Added: 0068590
2014-07-11 13:10 hgbot Status scheduled => resolved
2014-07-11 13:10 hgbot Resolution open => fixed
2014-07-11 13:10 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cb41da47b353600921298d6e5a92dc45dc48fce3 [^]
2014-07-14 10:50 AugustoMauch Note Added: 0068609
2014-07-14 10:50 AugustoMauch Status resolved => closed
2014-07-14 10:50 AugustoMauch Fixed in Version => PR14Q4
2014-08-08 18:53 hudsonbot Checkin
2014-08-08 18:53 hudsonbot Note Added: 0069151


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker