[MNT-18232] Display value field shows Unicode reference for non-english characters Created: 30-Jun-17 Updated: 03-Sep-20
|Project:||Service Packs and Hot Fixes|
|Affects Version/s:||Alfresco Process Services 1.6.2, Alfresco Process Services 22.214.171.124|
|Type:||Service Pack Request|
|Reporter:||Lei Wang [X] (Inactive)||Assignee:||Mark Howarth|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Attachments:||126.96.36.199ExampleEditorFormDisplaySelectingOtherSpecialCharlableedFormField.png Screen Shot 2018-05-29 at 5.40.30 AM.png displayValue.mp4 image-2018-05-23-10-16-03-491.png testdisplay.bpmn20.xml web.xml|
00876041, 00942516, 01011783
Steps to reproduce
|Comment by Jennie Soria [X] (Inactive) [ 19-Sep-17 ]|
Reproducible in 188.8.131.52 APS
This issue is explicitly with the rendering of the text for the 'Show value of label' while setting up/editing a form where you display the value from another field's label.
Characters just not encoded in the form 'editor' view for the 'display value' field when you select a form field where the label is in Chinese/Japanese or other similar encoded languages.
Looks to be related to ./activiti-bpm-suite/activiti-app/src/main/webapp/editor/views/templates/form-builder-element-template.html
|Comment by Doug Johnson [X] (Inactive) [ 25-May-18 ]|
The development team has proposed a work around prior to this being formally fixed in the product:
1. Open /tomcat/webapps/activiti-app/editor/views/templates/form-builder-element-template.html
The about uses HTML Template Binding, if changed to use directives the issue will be resolved
Using a directive instead will work fine as in
This pattern can be used to solve other similar issues related to unicode character display.
|Comment by Bassam Al-Sarori [ 29-May-18 ]|
Seems that both fields have the same id (since Japanese is used the id isn't auto generated from the form field label instead 'field1' will be used by default). Changing the field id is possible by editing the form field and checking "Override ID?" and specifying a unique id for each field.
|Comment by Mark Howarth [ 23-Aug-19 ]|
Reassigning to Doug Gruber, the new PM for APS.
|Comment by Mark Howarth [ 02-Dec-19 ]|
Assigning to Mark Howarth as PM for APS.