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

「サイトのバリエーション」が正しく機能しないのはなぜですか?

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

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.2 フィックスパック 9
    2のクリーンなインスタンスから開始します。 サイト管理 > パブリッシング > ステージングで、ローカル ライブ ステージングを有効にし、チェックボックスをオンにしてページのバージョン管理を有効にし、保存
    3. サイト管理 > サイト ビルダー > ページで、新しいコンテンツ ページ タイトル テストを作成し、見出しコンポーネントを追加します。
    4. テスト ページを表示しているときに、[ライブに公開] ボタンの右側にあるアクション ボタンから [サイト ページのバリエーション] を選択します。
    5. テストというタイトルのサイト ページ バリエーションを追加し、[サイト ページ バリエーションからページをコピー] ドロップダウンから [メイン バリエーション] を選択します
    6. ボタンを押して、テスト バリエーションのテスト ページを有効にします
    7. 選択します[サイト ページのバリエーション] ドロップダウン メニューからのメイン バリエーション
    8. ページに段落コンポーネントを追加して公開する
    [サイト ページのバリエーション] ドロップダウン メニューで [テスト] バリエーションを選択する
    期待される結果: 段落のみが公開されるメインバリエーションへ。
    実際の結果: 段落はテスト バリエーションにも発行されます。PageVariations.gif

Environment

  • Liferay DXP 7.2 フィックスパック 9

解決策

  • LPS-125755が実装されているため、ステージング中にコンテンツ ページでサイト ページ バリエーションを有効にすることができます。 したがって、現在のサイト バリエーションの動作は、ポータルの意図した動作です。
Did this article resolve your issue ?

Legacy Knowledge Base