Bug 30421

Summary: Error 500 while trying to put a hold on a record
Product: Koha Reporter: Arthur Suzuki <arthur.suzuki>
Component: Hold requestsAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: critical    
Priority: P5 - low CC: gmcharlt
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Arthur Suzuki 2022-03-31 14:24:13 UTC
When trying to put a hold on a record from staff interface:

https://staff-master.sandboxes.biblibre.eu/cgi-bin/koha/reserve/request.pl?borrowernumber=1&amp;biblionumber=4712

Template process failed: undef error - The given date (2004) does not match the date format (iso) at /kohadevbox/koha/Koha/DateUtils.pm line 204.
 at /kohadevbox/koha/C4/Templates.pm line 127
Comment 1 Arthur Suzuki 2022-04-01 09:52:59 UTC
That was due to data on a record not being in the proper format.
After removing the publication date (210d and 211a) the issue didn't appear anymore.
Not a bug.