legacy-knowledge-base
公開されました Jun. 30, 2025

必須フィールドのため、Web コンテンツのデフォルト値を保存できません

written-by

Kanchan Bisht

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

learn-legacy-article-disclaimer-text

問題

  • ユーザーが構造体フィールドのデフォルト値を編集しようとすると、エラーが発生し、更新されたデフォルト値が保存されません。
  • 再現手順:
    1) DXP 7.4 のセットアップ
    2) コンテンツ & データ -> Web コンテンツ -> 構造に移動し、2 つのフィールド (たとえば、2 つのテキスト フィールド) を持つ構造を作成し、 fields 'Required' 次に保存します
    3) 構造に移動し、3 ドット メニューをクリックして 'Edit Default Values'を選択します。
    4) テキストが不要なフィールドに入力し、[保存] をクリックします。
    観測された動作: 構造が保存されず、UI でエラーがスローされます。
    Error: Please enter a valid title for the default language: en-US.
    "The field is required"
    ログとブラウザ コンソールにエラーはありません。
    予期される動作: 更新された構造は正常に保存されるはずです。

Environment

  • ライフレイDXP 7.4

解決策

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base