Updated web content mapped to HTML fragment is not displayed on the page

Issue

  • I have an issue with OOTB HTML fragment. When mapping web content to HTML fragment on a content page and updating the web content, the updated content field is not displayed on the published page.

Reproduction Steps:

1. Start DXP 7.4
2. Go to Content & Data --> Web Content and create basic web content.
3. Go to Site Builder --> Pages and add a content (blank) page and add to it an HTML fragment.
4. Map the fragment to the web content and at the "field" select "Content", then publish the page.
Checkpoint: The content of the WC is displayed on the page.
5. Go back to the web content and update its content field.
6. View the page.

Actual Result: The updated content is not viewed. Only on edit mode.

Expected Result: The updated web content should be displayed on the page view.

Please see attached video illustration: HTMLfragWCviewissue.mp4

Environment

  • Liferay DXP 7.4

Resolution

  • Currently, this behavior is expected. The default fragments are all cached. So until a cache invalidation happens the mapped content changes will not appear. 
  • In order to resolve this issue, we can perform one of the following:
    • Editing the page and publishing it.
    • Clearing the clustered cache by going to Control Panel --> Server Administration --> Resources --> CACHE ACTIONS and executing Clear content cached across the cluster.
  • The following feature request addresses the current behavior. The request is to expose the “cacheable” checkbox on OOTB fragments: LPS-188396 

Additional Information

 

Este artigo foi útil?
Utilizadores que acharam útil: 0 de 0