Web コンテンツ内の「ページへのリンク」フィールドを使用している間、レイアウト グループ ID が公開されない
Written By
Pooja Bhambani
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.デフォルトのゲスト サイトに First と Second の 2 つのパブリック ページを作成します。 2. C添付ファイルを参照して、独自の構造とテンプレート「ページへのリンク」を作成します。 3. 構造タイプ「ページへのリンク」の新しい Web コンテンツをそのコンテンツとともに作成します。 4. このコンテンツをサイトの最初のページにドロップします。 5. サイトのローカル ライブ パブリケーションをセットアップし、構造、テンプレート、コンテンツ、およびページをパブリッシュします。 6. ライブ サイトの最初のページを確認します。 検査すると、グループ ID が欠落していることがわかります。 7. 問題は、ページ フィールドへのリンクが "LAYOUT_ID@LAYOUT_TYPE@LAYOUT_GROUP_ID" としてデータベースに保存されることですが、ライブ サイトでページ フィールドへのリンクを含む Web コンテンツを公開すると、レイアウト グループ ID が失われ、格納されるのは「LAYOUT_ID@LAYOUT_TYPE」です。