Legacy Knowledge Base
公開されました Jun. 30, 2025

ウェブ・コンテンツ構造使用時のカラー・フィールド・エラー

Written By

Adrienne Lao

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.

問題

  • Webコンテンツ構造で「色」フィールドを使用すると、以前に選択した値が保存されず、「色」フィールドが読み込まれない。
  • 再現の手順

    • 構造体を作成し、少なくとも1つの "Color "フィールドを追加する。

    • テンプレートを作成し、そこにカラーフィールドの値をプリントする。

    • 新しいテンプレートを構造体に接続する。

    • 新しいテンプレート/構造を使ってウェブ・コンテンツ・オブジェクトを作成する

    • カラーフィールドに、数字で始まるHEX値を入力する(すべての値で問題が発生するわけではないが、"980000 "は確実に問題が発生した)。

    • ウェブコンテンツオブジェクトをパブリッシュし、もう一度戻って編集します。

環境

  • 2023.Q4

解像度

  • これはCore Liferayで報告されているバグです。LPD-21418を含むHotfixをリクエストしてください。
  • 別の回避策も見つかっている:
    • 構造を編集し、カラーフィールドを変更する
    • 詳細設定 "タブで、"ローカライズ可能 "のチェックを外す。
    • 構造の保存

Did this article resolve your issue ?

Legacy Knowledge Base