Issue
-
When the content of a fragment 'select from list' is mapped as a field in a display page template or content page, the rendering contains unexpected characters.
-
Steps to reproduce:
1) Set up a clean instance of DXP
2) Navigate to Content and Data -> Web Content -> Structures and create a structure with a 'Select from list' field.
3) Go to web content and create web content from the structure and in the content select 'Option' and then publish.
4) Go to Design -> Page Templates -> Display Page Templates and add a DPT and add to it a Heading fragment.
5) Doubleclick on the fragment and from the right panel at the 'Mapping' -> 'Source' select 'Specific Content' and select the web content under 'Item' and at the 'Field' find the content structure and select 'Select from list'.
6) Check the fragment heading.
Observed Behavior: The Option appears incorrectly rendered with characters like [" Option "]. There are no errors in the log and browser console.
Expected Behavior: The Option appears normally as it is.
Environment
- Liferay DXP 7.4
Resolution
- The observed behavior is a known bug of DXP which is addressed in Liferay-dxp-7.4-update-50
Additional Information
- If a hotfix is required, please create a support ticket requesting the hotfix by attaching the patch details.
- Installing Fix Packs and Hotfixes on Liferay DXP will guide you to install the Fixpack/Hotfix in your environment.
- LPS-165478