Done
Details
Assignee
Dima TkachenkoDima TkachenkoReporter
Ryan BergerRyan BergerPriority
P1Story Points
2Sprint
NoneDevelopment Team
EurekaRCA Group
Implementation coding issueTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Dima Tkachenko
Dima TkachenkoReporter
Ryan Berger
Ryan BergerPriority
Story Points
2
Sprint
None
Development Team
Eureka
RCA Group
Implementation coding issue
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created November 20, 2024 at 4:00 PM
Updated December 11, 2024 at 12:41 PM
Resolved December 3, 2024 at 3:05 PM
Steps to reproduce:
Log into https://folio-etesting-snapshot-diku.ci.folio.org/
Enable any search filter option to retrieve users (f.e., select “Active“ in “Status“ filter)
Click on the name of a user (note this only happens for certain users and only once)
In the third pane, click on “Actions” button → Select “Edit” option
Click on “Send reset password email” link next to “Username“ field
Expected result: A modal appears with the reset password link.
Actual result: A modal with the reset password link does NOT appear. In DevTools,
POST /users-keycloak/password-reset/link
request fails with 500 status and the following response body:{ "errors": [ { "message": "Cannot invoke \"java.lang.Boolean.booleanValue()\" because \"passwordExists\" is null", "type": "NullPointerException", "code": "unknown_error", "parameters": [] } ], "total_records": 1 }
This was discovered by QA when verifying https://folio-org.atlassian.net/browse/UIU-3236. The UI first checks if user exists by calling
users-keycloak/auth-users/
and will create the keycloak user if that endpoint returns a 404. Please check and see if there are other cases wherePOST /users-keycloak/password-reset/link
can throw the above error. It may be that the keycloak user exists, but thepasswordExists
property is null. Adding null safety should hopefull prevent this edge-case.Additional information:
Reproducible occasionally, only for users not having a Keycloak record
Also active occasionally on https://eureka-bugfest-ramsons.int.aws.folio.org/