http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7964
Priority: P5 - low
Change sponsored?: ---
Bug ID: 7964
CC: [email protected]
Assignee: [email protected]
Summary: Perl error when adding a range of holidays without To:
date
QA Contact: [email protected]
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: All
Status: NEW
Version: master
Component: Holidays
Product: Koha
To reproduce:
Add a range of holidays using either
- Holidays on a range or
- Holidays repeated yearly on a range
and leave the 'To:' date empty.
Following error will be shown:
Software error:
The 'month' parameter (undef) to DateTime::new was an 'undef', which is not one
of the allowed types: scalar
at /usr/lib/perl5/DateTime.pm line 200
DateTime::new(undef, 'year', undef, 'month', undef, 'day', undef) called at
/home/katrin/kohaclone/tools/newHolidays.pl line 129
main::add_holiday('holidayrangerepeat', 'PVL', 4, 26, 4, 2012, '', '')
called at /home/katrin/kohaclone/tools/newHolidays.pl line 66
For help, please send mail to the webmaster (webmaster@bumblebee), giving this
error message and the time and date of the error.
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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/