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

JSONエラーメッセージ付き出版成功

Written By

Debora Vita

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コンテンツ表示ウィジェットを追加し、新しい発行プロセスを作成(以前に作成したページを選択し、Webコンテンツの選択を解除)し、発行すると、詳細で参照エラーjsonが見つからないと表示され、正常に発行されたことがわかります。 期待される結果は、人間が読めるような参照欠落のエラーメッセージとともに出版が失敗することです。

Environment

  • DXP 7.3

解決策

  • "Publish Displayed Content by Default" というオプションは無効になっていますが、ウェブコンテンツ なしでページ を公開すると、ページと ウェブコンテンツ が Live に公開されました。

    https://issues.liferay.com/browse/LPS-148539

    そこで、 オプションを無効にしてください: "Publish Displayed Content by Default"を無効にすれば、公開に失敗することはありません。 成功すると、ウェブコンテンツ表示ポートレットだけがライブに公開されます (ウェブコンテンツも公開プロセスから選択解除されている場合)。
Did this article resolve your issue ?

Legacy Knowledge Base