Unmapped fragment value not showing after publishing

Issue

  • I create web content and a web content dynamic/manual collection. Then, create a content page and add a collection display fragment to it and a paragraph fragment. when mapping the fragment and publishing the page the modified fragment is published. However, when unmapping the paragraph fragment and changing its value, and then publishing the page again, the modified paragraph value is not published. It is saved only on page editing.

Reproduction Steps:

  1. Go to Content & Data --> Web Content and create basic web content.

  2. Go to Site Builder --> Pages and add a content (blank) page, add to it a Collection Display fragment, and select the recent content collection provider.

  3. Add a paragraph fragment to the collection display, click twice on the Paragraph fragment, switch the Mapping tab in the right-hand-site panel, set the mapping to "Author", then publish the page.
    Checkpoint: The modified paragraph appears on the page.

  4. Click twice on the Paragraph fragment, switch the Mapping tab in the right hand-site-panel, and set the mapping to "Unmapped"

  5. Double-click on the Paragraph fragment and set a random text, and publish the page.

  6. Observe the paragraph fragment on page view.

Expected Result: ** The edited paragraph should be displayed after publishing the page.

Actual Result: The edited paragraph is not viewed on the published page. instead, the default value is returned. The edited paragraph appears only when editing the page. See attached video illustration: paragfragviewissue.mp4

Environment

  • Liferay 7.3
  • Liferay 7.4

Resolution

  • The issue is resolved by LPS-187648. If you are on DXP 7.4, kindly upgrade to u84 or request a hotfix. For DXP 7.3 users, please request a hotfix.

 

这篇文章有帮助吗?
0 人中有 0 人觉得有帮助