Legacy Knowledge Base
Published Jul. 2, 2025

Repeatable web content structure items causes error and block publishing

Written By

Ankit Gupta

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

  • Steps to Reproduce:
    1) Take Liferay 7.1 and install fix-pack dxp-14.
    2) Connect with MySQL 5.7
    3) Create a structure with two text fields
          a) Add one text field 1 - make it repeatable
          b) Add another text field 2 as a sibling of the above text field - make it repeatable
    4) Create a template
          a) Loop through text field 1 - print text field 1
          b) Inside the above loop, iterate through text field 2 and print text field 2                                    

    5) Now Add Web Content using the above-created Structure.
    6) Add 8 text fields for field 1 and inside every 8 fields add 6 fields except in the 8th field add 7 fields.
    7) Click on Publish.

    Observed Behavior: Web Content is not saved.
    Expected Behavior: The Web Content should be saved.

Environment

  • Liferay DXP 7.2
  • Liferay DXP 7.1

Resolution

  • The observed behavior is a known bug and fixed in Liferay DXP 7.1 with Liferay-fix-pack-dxp-17 and above.
  • The observed behavior is a known bug and fixed in Liferay DXP 7.2 with Liferay-fix-pack-dxp-4 and above.
  • Installing Fix Packs and Hotfixes on Liferay DXP will guide to install these Fixpack in your environment.
Did this article resolve your issue ?

Legacy Knowledge Base