[Koha-bugs] [Bug 22805] New: When borrowers.dateofbirth is set to a date matching '0YYY-MM-DD', memberentry.pl crashes on save.
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Apr 29 18:00:06 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22805
Bug ID: 22805
Summary: When borrowers.dateofbirth is set to a date matching
'0YYY-MM-DD', memberentry.pl crashes on save.
Change sponsored?: ---
Product: Koha
Version: 18.11
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Patrons
Assignee: koha-bugs at lists.koha-community.org
Reporter: barton at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
Target Milestone: ---
Symptom: Crash on save when in memberentry.pl for a particular patron.
Inspecting the plack error logs, I saw
The given date (02/26/986) does not match the date format (us) at
/usr/share/koha/lib/Koha/DateUtils.pm line 168.
To replicate:
Edit a patron. Set the first digit in the year of the patron's birthday to 0,
e.g for a 'MM/DD/YYYY' formatted date, this would be '02/26/0986'
Click save. This causes an Internal Server Error.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list