Layout Group ID is not published while using "Link to Page" field inside the web content
Written By
Pooja Bhambani
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
-
Steps to reproduce
1. Create two public pages First and Second in the default Guest site.
2. Create a custom structure and template "Link to Page" by referring the attachments.
3. Create a new web content of structure type "Link to Page" with its content.
4. Now drop this content on First page of the site.
5. Setup a local live publication for the site and publish the structure, template, content and the page.
6. Now check the First page on live site. Upon inspection you will find that the group Id is missing.
7. The issue is that the link to page field is stored as "LAYOUT_ID@LAYOUT_TYPE@LAYOUT_GROUP_ID" in database but when we publish a web content containing link to page field on live site the layout group id goes missing and what is stored is "LAYOUT_ID@LAYOUT_TYPE".
Expected Behavior: LIVE_LAYOUT_GROUP_ID should be appended to LAYOUT_TYPE field.
Actual Behavior: LIVE_LAYOUT_GROUP_ID is not appended to LAYOUT_TYPE field.
Resolution
- The observed behavior is a known issue. And, it is fixed in Fix Pack 12.
- If the hotfix is required for this issue, please create a support ticket requesting hotfix by attaching patch details.
-
Installing Fix Packs and Hotfixes on Liferay DXP will guide to install this hotfix in the respective environment.
Did this article resolve your issue ?