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

ユーザーが削除されたため、フラグメントにアクセスできなくなりました

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

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.

問題

  • ユーザーは、管理者ロールを持つユーザーを作成し、そのユーザーになりすましてフラグメント コレクションをグローバル サイトに追加します。 次に、ユーザーを非アクティブ化して削除します。 元の管理者としてコレクションからフラグメントを作成しようとします。 フラグメントが作成されました。
    ただし、UI のエラーによりアクセスできません。

  • 再現手順:
    1) DXP サーバーのセットアップ
    2) コントロール パネル -> ユーザー -> ユーザーと組織に移動し、ユーザーを作成して管理者ロール (通常のロール) を追加します。
    3) 管理者として、[ユーザー] に戻り、新しいユーザーの横にある 3 ドット メニューをクリックし、[偽装] を選択して、ユーザーを偽装します。
    4) グローバル サイトに移動します -> デザイナー -> フラグメントと新しいコレクションを作成します
    5) admin ユーザーに戻り、新しいユーザーを非アクティブ化して削除します。
    6) グローバル サイト -> デザイン -> Fragments に移動し、コレクションからフラグメントを作成します。
    予想される動作: フラグメントは問題なく作成され、アクセスされるはずです。
    観察された動作: UI にエラーが表示されます: 'fragmentXX (ドラフト) は一時的に使用できません' およびログ:
ERROR [http-nio-8080-exec-9][PortletRequestDispatcherImpl:304] Unable to dispatch request: com.liferay.portal.kernel.exception.NoSuchUserException: No User exists with the primary key XYZ
ERROR [http-nio-8080-exec-9][PortletServlet:117] null
javax.portlet.PortletException: javax.servlet.ServletException: com.liferay.portal.kernel.exception.NoSuchUserException: No User exists with the primary key XYZ

環境

  • Liferay DXP 7.3

解決策

  • 観察された動作は、DXP の既知のバグであり、 LPS-によって対処される予定です。

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base