Legacy Knowledge Base
Published Jul. 2, 2025

Fragment Unexpected Error Occurred

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

  • While dragging the same fragment on Page this error is shown "Error An unexpected error occurred while rendering this item"
  • Steps to Reproduce

    <label><span data-lfr-editable-id="${fragmentEntryLinkNamespace}" data-lfr-editable-type="text">Option</span></label>
    • Create a new Content Page and drag the Fragment more than once.
    • Publish the Page. 
    • Now, update the Fragment. 
    <label><span data-lfr-editable-id="${fragmentEntryLinkNamespace}" data-lfr-editable-type="text">Option New 1</span></label>
    • Publish the Fragment.
    • In view mode the Fragments are visible. But, when we click on edit mode unexpected error is occured.

    Expected Result: In Edit Mode, no error is throw.Screenshot__38_.png

    Actual Result: In edit mode, error is throw in one of the Fragments. Screenshot__39_.png

Environment 

  • Liferay DXP 7.3 

Resolution

  • The observed behavior is a known issue/bug and it is fixed in fix-pack 2.
  • 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.
  • After applying the fix, you will need to propagate the fragments again in order to for the fix to take effect.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base