Bug 28552

Summary: Internal server error when patron's birthday doesn't include required number of characters
Product: Koha Reporter: Michael Adamyk <madamyk>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: 20.05   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Michael Adamyk 2021-06-10 18:31:07 UTC
When adding or editing a patron record, if the birth date is manually typed in and doesn't include the proper number and type of characters (MM/DD/YYYY), attempting to save the patron record will result in an internal server error. For example, 07/09/1999 will work, but 7/9/1999 will return the error.

It would be very helpful if Koha would kick us back to the patron creation screen, preferably with an error or explanation message, rather than returning an internal server error.