legacy-knowledge-base
公開されました Jul. 2, 2025

Portletpreferences Table'からも同じ結果がカウントされます。

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

learn-legacy-article-disclaimer-text

問題

  • テーマを元に戻してもポートレットの設定は削除されません。
  • Webコンテンツ」が埋め込まれたカスタム「テーマ」をデプロイした後の問題を再現する手順
    1. ホームページに移動する
    2. ウェブの内容を確認します。
    3. 'SELECT * FROM PortletPreferences;' を実行します。
    4. 83件の結果を受信 (私のローカルシステムで).
    5. サイトに移動する コントロールメニュー -> サイトビルダー -> ページ。
    6. 公開ページの選択
    7. クラシックなテーマを再び使用するように設定します。
    8. 再びホームページに移動します。
    9. Webコンテンツがページから削除されていることを確認するだけ。
    10. 実行 "SELECT * FROM PortletPreferences; "を実行します。
    11. 同じ83件の結果を受け取りました (私のローカルシステムで)

環境への配慮

  • ライフレイ7.2 DXP-5
  • MySQLデータベース

決議

  • そのために、 の「コントロールパネル > サーバー管理」 の下にある の「孤立したテーマポートレットの環境設定のクリーンアップ」 というアクションがあります。
  • 上記のアクションを実行した後、結果のカウントが減少します。
did-this-article-resolve-your-issue

legacy-knowledge-base