[MGNLPUR-221] Password recovery - server error leads to user not found Created: 24/Mar/23  Updated: 24/Mar/23

Status: Open
Project: Magnolia Public User Registration
Component/s: None
Affects Version/s: 2.7.7
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Jennifer Brehm Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Magnolia Demo


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

 Description   

Steps to reproduce

  1.  add a front end user
  2.  request a password reset token (forgot password functionality
  3. on the password change page, enter a password that does not meet the password requirements
  4. hit send
  5. after return to page with error, try again with password that meets requirements
  6. error: tokenpasswordprocessor.user.not.exist

.. Logs, screenshots, gifs...

Expected results

the password is being set

.. Justify non-trivial expectations with a link to a doc or a relevant discussion.

Actual results

error leads to a situation the user may be unable to resolve by themselves (i.e. opening the link from the email again)

Workaround

extend the form field and add a front end pattern so that there is a html 5 form validation that catches the problem in browser

Development notes

the change password functionality uses the standard form module with a different processor - as with all forms if it comes back with an error you only have the mgnlFormToken attached as a parameter - the code for the password change relies on the userId and token parameters to be present though.


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