[MGNLPUR-7] We need a better/cleaner way to get user's uuid Created: 03/Sep/07  Updated: 23/May/14  Resolved: 22/Dec/11

Status: Closed
Project: Magnolia Public User Registration
Component/s: None
Affects Version/s: 1.1.2
Fix Version/s: 1.1.4

Type: Improvement Priority: Major
Reporter: Magnolia International Assignee: Samuel Schmitt
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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)
Date of First Response:

 Description   

Currently wrapping MgnlUserManager and casting MgnlUser to get a user by uuid and an existing user's uuid isn't really clean.
We could maybe expose a uniqueId property at User level, and a getUserByUniqueId() method on UserManager.

See info.magnolia.module.publicuserregistration.strategy.SimpleEmailValidation and info.magnolia.module.publicuserregistration.strategy.Mail to see the hacks that were needed.



 Comments   
Comment by Samuel Schmitt [ 22/Dec/11 ]

Since PUR 1.4, MgnlUser has a uuid property.

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