[Koha-bugs] [Bug 7964] New: Perl error when adding a range of holidays without To: date
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Apr 14 15:07:02 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7964
Priority: P5 - low
Change sponsored?: ---
Bug ID: 7964
CC: christophe.croullebois at biblibre.com
Assignee: henridamien at koha-fr.org
Summary: Perl error when adding a range of holidays without To:
date
QA Contact: koha.sekjal at gmail.com
Severity: normal
Classification: Unclassified
OS: All
Reporter: katrin.fischer at bsz-bw.de
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 at 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.
More information about the Koha-bugs
mailing list