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

ユーザーログイン時に user_ .modifiedDate テーブルが変更される

written-by

Michael Tran

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

問題

  • ユーザーがログインすると、Liferayはデータベーステーブルのuser_ .modifiedDateの値を変更します。

環境

  • Liferay DXP 7.4

解像度

  • ユーザーログイン時に user_ .modifiedDate フィールドが変更される動作は、意図された動作であると判断されました。
    • これには、ユーザー情報が変更された場合(例:連絡先情報の変更)も含まれます。
  • ユーザーがログインするたびに、次のメソッド updateLastLogin が呼び出されます(ソースコードは ここにあります)。
    • これは永続性の更新であり、結果として modifiedDate が常に更新される。

did-this-article-resolve-your-issue

legacy-knowledge-base