Bug 28552 - Internal server error when patron's birthday doesn't include required number of characters
Summary: Internal server error when patron's birthday doesn't include required number ...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: 20.05
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-10 18:31 UTC by Michael Adamyk
Modified: 2021-06-10 18:31 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:


Attachments

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