Legacy Knowledge Base
Published Jun. 30, 2025

The Structure field is rendered incorrectly on template page

Written By

Kanchan Bisht

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

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

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base