Legacy Knowledge Base
公開されました Jul. 2, 2025

繰り返し可能な Web コンテンツ構造のアイテムはエラーを引き起こし、発行をブロックします

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.

問題

  • 再現手順:
    1) Liferay 7.1 を使用して、fix-pack dxp-14 をインストールします。
    2) MySQL 5.7 と接続する
    3) 2 つのテキスト フィールドを持つ構造を作成する
    a) 1 つのテキスト フィールド 1 を追加する - 繰り返し可能にする
    b) 別のテキスト フィールド 2 を上記のテキスト フィールドの兄弟として追加する - 繰り返し可能にする
    4) テンプレートを作成します
    a) テキスト フィールド 1 をループします - テキスト フィールド 1 を出力します
    b) 上記のループ内で、テキスト フィールド 2 を繰り返し、テキスト フィールド 2 を出力します

    5) 上記で作成した構造を使用して Web コンテンツを追加します。
    6) フィールド 1 に 8 つのテキスト フィールドを追加し、8 つのフィールドごとに 6 つのフィールドを追加します。ただし、8 番目のフィールドには 7 つのフィールドを追加します。
    7) [発行] をクリックします。

    観察された動作: Web コンテンツは保存されません。
    予想される動作: Web コンテンツを保存する必要があります。

Environment

  • Liferay DXP 7.2
  • Liferay DXP 7.1

解決策

  • 観測された動作は既知のバグであり、 Liferay-fix-pack-dxp-17 以降の Liferay DXP 7.1 で修正されました。
  • 観測された動作は既知のバグであり、 Liferay-fix-pack-dxp-4 以降の Liferay DXP 7.2 で修正されました。
  • Liferay DXP へのフィックスパックとホットフィックスのインストール は、環境にこれらのフィックスパックをインストールするためのガイドです。
Did this article resolve your issue ?

Legacy Knowledge Base