Bug 34096 - Patron registration fields revert back to last successful save if error occurs
Summary: Patron registration fields revert back to last successful save if error occurs
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-22 13:21 UTC by Laura Escamilla
Modified: 2023-06-22 13:21 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.