http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7964 Priority: P5 - low Change sponsored?: --- Bug ID: 7964 CC: christophe.croullebois@biblibre.com Assignee: henridamien@koha-fr.org Summary: Perl error when adding a range of holidays without To: date QA Contact: koha.sekjal@gmail.com Severity: normal Classification: Unclassified OS: All Reporter: katrin.fischer@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@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.