[MAGNOLIA-5649] Each time a user logs in, his user node (security app) turns "yellow" Created: 29/Jan/14  Updated: 01/Jul/15  Resolved: 04/May/15

Status: Closed
Project: Magnolia
Component/s: security
Affects Version/s: 5.2.1
Fix Version/s: 5.3.9

Type: Bug Priority: Neutral
Reporter: Richard Unger Assignee: Trang Truong
Resolution: Fixed Votes: 0
Labels: security, support, ux
Remaining Estimate: 0d
Time Spent: 2.5d
Original Estimate: 5h
Environment:

demo.magnolia-cms.com


Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

When a user logs in, his user node turns yellow (modified).

I assume this is because the lastLogin date is set on the user during login.

This is a problem because it makes it impossible to differentiate between users which are really modified (eg changed password or email) and those which are only modified because they logged in.



 Comments   
Comment by Richard Unger [ 27/Nov/14 ]

Bump!

Comment by Trang Truong [ 24/Apr/15 ]

Its caused by trigger wrapper called updateLastModified() when user login.

The solution is to call deepUnwrap() before we update the lastAccess date.

Generated at Mon Feb 12 04:07:06 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.