Bug 34096

Summary: Patron registration fields revert back to last successful save if error occurs
Product: Koha Reporter: Laura Escamilla <Laura.escamilla>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Laura Escamilla 2023-06-22 13:21:05 UTC
To recreate:
1. Create a test patron with category "Teen" and add an address of 1010 Library Lane. Leave date of birth blank.
2. Save record.
3. Edit record to (a) change address to 1010 Book Street and (b) add DOB of 10/10/1980.
4. Save record.
5. Note error message ("The following fields are wrong. Please fix them. Patron's age is incorrect for their category. Ages allowed are 12-18.") and that the address has reverted to 1010 Library Lane.