https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30395
Bug ID: 30395
Summary: Internal server error at reserve/request.pl on a
biblio with non-ISO formatted date in publicationyear
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Hold requests
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
Steps to reproduce:
1. Verify that in the default MARC framework there is a field linked to
biblioitems.publicationyear (typically it's 210$d for UNIMARC)
2. Create a biblio with a non ISO-formatted date in this field. It can be a
"YYYY" year for instance. Create an item for this biblio.
3. Try to place a hold on this biblio. You should get an internal server error
and the following message in the logs:
Template process failed: undef error - The given date (2013) does not match the
date format (iso) at /home/koha/src/Koha/DateUtils.pm line 204.
It looks like the problem was introduced by bug 29660 which replaces an 'html'
filter by a '$KohaDates' filter for publicationyear
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/