Bug 30421 - Error 500 while trying to put a hold on a record
Summary: Error 500 while trying to put a hold on a record
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Hold requests (show other bugs)
Version: Main
Hardware: All All
: P5 - low critical
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-31 14:24 UTC by Arthur Suzuki
Modified: 2022-12-12 21:25 UTC (History)
1 user (show)

See Also:
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:


Attachments

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