[Bug 7964] New: Perl error when adding a range of holidays without To: date
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.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7964 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |6663 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7964 --- Comment #1 from Christophe Croullebois <christophe.croullebois@biblibre.com> --- Hello Katrin, I am quite sure that in the 7351 we have a fix of this bug, try to test with it, I have changed also for creating on a range, in my memory I have chosen the option to do nothing, lighter than a warning window. So, if you don't fill the "to", koha does nothing, and you can see that on the calendar. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7964 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |veron@veron.ch Resolution|--- |FIXED --- Comment #2 from Marc Véron <veron@veron.ch> --- I could reprocuce the error with Koha version: 3.08.00.000 Then I applied Patch 7351 and tested. Error was gone. 7351 is marked as Signed Off Marking this Bug as RESOLVED FIXED Marc -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7964 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |DUPLICATE --- Comment #3 from Marc Véron <veron@veron.ch> --- Changed to RESOLVED DUPLICATE *** This bug has been marked as a duplicate of bug 7351 *** -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org