Won't Do
Details
Assignee
Irina PokhyletsIrina PokhyletsReporter
Molly DriscollMolly DriscollPriority
TBDDevelopment Team
NoneRCA Group
TBDTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Irina Pokhylets
Irina PokhyletsReporter
Molly Driscoll
Molly DriscollPriority
Development Team
None
RCA Group
TBD
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created January 17, 2025 at 3:28 PM
Updated January 21, 2025 at 2:28 PM
Resolved January 20, 2025 at 11:14 AM
Description: The merge action from patron preregistration search fails with an error, seemingly related to lack of address data in the preregistration record (based on the underlying error).
Steps to reproduce:
Open https://eureka-bugfest-ramsons-consortium.int.aws.folio.org/
Open the Users app.
Click Actions > Search patron reregistration records
Search for polina14@mail.com
Click ‘New’ next to the record that appears
Click ‘Merge’ next to the record for Test, Merge
Expected result: New record is created with merged data. Original record: 64ffbff5-a368-44d7-97e9-097b17fb8b47
Actual result: Red toast message: Something went wrong. Please try again later. Developer tools error: 500 Cannot invoke "org.folio.rest.jaxrs.model.AddressInfo.getCountry()" because "addressInfo" is null
Additional information: This error also appears when attempting to create a new user from a preregistration record when address data is missing.
Since addresses are not required on a user record, it seems undesirable to have the absence of this information prevent taking action on a preregistration record.