Legacy Knowledge Base
Published Jun. 30, 2025

Importing web content structures with fieldset fails

Written By

Anishq Sharma

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

Import fails if a web content that contains fieldset in structure, is added in the LAR.

  • Steps to Reproduce:

    • Go to Content & Data --> Web Content --> Structures and create 3 structures like the following:

    • First structure, name it "fieldSetStructure" and add to it a few fields.

    • Second structure, name it "structure1" and add to it "fieldSetStructure" fieldset

    • Third structure, name it "structure2" and add to it "structure1" fieldset.

    • Export the structures by going to "Web Content" and then click on the 3 dot menu Export / Import and download the LAR

    • Create a new Site by navigating to Control Panel --> Sites --> Sites and try to import the LAR via Content & Data --> Web Content

  • Expected Result:
    The import is successful with no errors.

  • Actual Result:

    The import fails with the following UI error:

    An unexpected error occurred with the publish process. Please check your portal and publishing configuration.
     The model.resource.com.liferay.data.engine.model.DEDataDefinitionFieldLink FieldsGroup08544649 could not be imported because of the following error: org.hibernate.exception.ConstraintViolationException: could not execute batch.

Environment

  • Liferay DXP 7.4

Resolution

  • The observed behavior is a known issue/bug and is being resolved through LPS-155637
  • Please create a Support ticket mentioning the provided LPS in order to get a hotfix for the same.
Did this article resolve your issue ?

Legacy Knowledge Base