legacy-knowledge-base
公開されました Sep. 10, 2025

ResourcePermission テーブルの NULL 値を持つ PrimKeyId フィールド

written-by

Ankit Gupta

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

問題

    1. アップグレード後、権限に問題があります。
      • 一部のユーザーは、サイト管理から「ドキュメントとメディア」セクションにアクセスできません
      • 「ドキュメントとメディア」ウィジェットも表示されません
      SQL select * from ResourcePermission where primKeyId IS NULL を実行すると、いくつかの値が返されますが、そうではありません
    2. 注: この問題は、7.x (7.0 から 7.3) からではなく、6.x から (たとえば 6.2 から 7.3 に) アップグレードした場合に発生します。

Environment

  • Liferay DXP 7.3
  • Liferay DXP 7.2

解決策

  • これは既知のバグであるため、Liferay サポートに連絡して、この問題の修正を提供することができます。 Liferay サポートは、喜んでお手伝いします。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base