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

なぜ言語セレクタはユーザーを更新するのですか?

written-by

Solyom Nagy-Györkös

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

問題

  • ユーザーが言語選択ウィジェットを使用してUIの言語を変更すると、ポータルはユーザーを更新します。
  • スタック・トレースには以下のモジュールが見える:
at com.liferay.portal.service.impl.UserServiceImpl.updateUser(UserServiceImpl.java:2791)

環境

  • DXP7.2、DXP7.3

解像度

  • 言語セレクタはグローバルメニューへのショートカットです > コントロールパネル > ユーザーと組織 > 特定のユーザーの設定の一般タブ > 言語設定
  • つまり、コントロールパネル自体からの更新であり、変更された場合は保存/更新が必要であると結論づけられ、そのために以下のモジュールが呼び出されます: com.liferay.portal.service.impl.UserServiceImpl.updateUserが呼び出されます。

did-this-article-resolve-your-issue

legacy-knowledge-base