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) 新しい Web コンテンツを作成し、ページ上でコンテンツを構成します。 2) [Publish to Live] をクリックして高度な公開に切り替え、ページを選択して下にスクロールし、コンテンツ セクションの Web コンテンツのチェックを外します。 3) リモート ライブに公開] をクリックします。 4) リモート サーバーに移動し、ステージング サーバーでチェックされていなかった Web コンテンツが公開されているページを確認します。
予想される動作: 公開時にチェックされていない Web コンテンツは、Live に公開しないでください。 観察された動作: 公開時にチェックされていない Web コンテンツが Live に公開されます。
Environment
DXP-5を搭載したLiferay 7.2
解決策
ページを公開すると、そこからすべてのポートレットが公開されます。これには、ステップ 1 で配置された Web コンテンツ表示が含まれます。
Web コンテンツ表示を公開すると、表示されている Web コンテンツが公開されます。
高度な公開フォームのコンテンツ セクションで Web コンテンツのチェックを外しても、Web コンテンツが公開されないわけではありません。 これは、参照されていない新しい Web コンテンツが公開されていないことを意味します。