legacy-knowledge-base
公開されました Jun. 30, 2025

viewcounterentry テーブルに RedirectNotFoundEntry データが多数ある。

written-by

István Gergely-Tárnoki

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

問題

  • viewcounterentry テーブルに com.liferay.redirect.model.RedirectNotFoundEntryというクラス名のレコードがたくさんあることに気づきました。 redirectnotfoundentry テーブルは空です。
  • 過去に導入され、その後デフォルトで無効化された404トラッキング・メカニズムに関連しているのかもしれない。
  • Groovyスクリプトですべてのレコードを安全に削除できますか?

Environment

  • Liferay DXP 7.3+

解決策

  • 404トラッキングは、 LPS-144021でオプションになりましたが、それ以前はデフォルトで有効になっていました。
  • あなたの環境で "Redirection Configuration" が無効になっている場合、Groovyスクリプトを使用して安全にレコードを削除することができます。
did-this-article-resolve-your-issue

legacy-knowledge-base