Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026986Openbravo ERPA. Platformpublic2014-07-01 13:062014-08-08 18:53
caristu 
shankarb 
urgentmajoralways
closedfixed 
5
pi 
3.0PR14Q43.0PR14Q4 
AugustoMauch
Core
No
0026986: Some characters are not printed after switching the template to use in the Email options window
Some 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.
1) 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.
In 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
No tags attached.
related to defect 00255123.0PR14Q2 closed shankarb Not possible to use different email definitions when sending multiple documents by email 
Issue History
2014-07-01 13:06caristuNew Issue
2014-07-01 13:06caristuAssigned To => AugustoMauch
2014-07-01 13:06caristuModules => Core
2014-07-01 13:06caristuResolution time => 1407103200
2014-07-01 13:06caristuTriggers an Emergency Pack => No
2014-07-01 13:07caristuIssue Monitored: networkb
2014-07-01 13:07caristuTarget VersionPR14Q3 => PR14Q4
2014-07-01 13:15caristuRelationship addedrelated to 0025512
2014-07-11 06:00shankarbAssigned ToAugustoMauch => shankarb
2014-07-11 06:00shankarbStatusnew => scheduled
2014-07-11 06:00shankarbNote Added: 0068585
2014-07-11 06:00shankarbfix_in_branch => pi
2014-07-11 13:08shankarbReview Assigned To => AugustoMauch
2014-07-11 13:08shankarbfix_in_branchpi =>
2014-07-11 13:08shankarbIssue Monitored: AugustoMauch
2014-07-11 13:10hgbotCheckin
2014-07-11 13:10hgbotNote Added: 0068590
2014-07-11 13:10hgbotStatusscheduled => resolved
2014-07-11 13:10hgbotResolutionopen => fixed
2014-07-11 13:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cb41da47b353600921298d6e5a92dc45dc48fce3 [^]
2014-07-14 10:50AugustoMauchNote Added: 0068609
2014-07-14 10:50AugustoMauchStatusresolved => closed
2014-07-14 10:50AugustoMauchFixed in Version => PR14Q4
2014-08-08 18:53hudsonbotCheckin
2014-08-08 18:53hudsonbotNote Added: 0069151

Notes
(0068585)
shankarb   
2014-07-11 06:00   
Fix pushed to try
(0068590)
hgbot   
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   
2014-07-14 10:50   
Code reviewed and verified in pi@119c05bb76af
(0069151)
hudsonbot   
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