Legacy Knowledge Base
Published Sep. 10, 2025

Field groups in Web Content Structures become Field Sets after Import or Modification

Written By

Daniel Carrillo Broeder

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 a web content structure containing a field group is imported via a LAR or JSON file, the field group is converted into an uneditable, referenced field set.
  • This issue also occurs when modifying and saving an existing structure that contains a field group.
  • As a result, the fields within the group can no longer be edited, and the new field set does not appear in the list of available field sets for management.

Environment

  • Liferay DXP 2025.Q1+

Resolution

  • This issue is caused by a product defect where the fieldset's ddmStructureId property is incorrectly set to "null" instead of an empty string.
  • The resolution involves two steps: applying a hotfix to prevent future occurrences and running a script to fix existing broken structures:
    1. Apply Hotfix
      • To prevent this issue from occurring with new or modified structures, request a hotfix including LPD-61671.
    2. Fix current structures
      • For structures that are already affected, the attached Groovy script can be run from the Control Panel's Script Console to correct them.
      • This script iterates through the structures and fixes the incorrect fieldset definitions. You will need to update the companyId variable in the script to match your instance.
      • Important: Before running the script, ensure you have a database backup.
  • Kindly contact support if the issue persist.

Additional Information

 

Did this article resolve your issue ?

Legacy Knowledge Base