[Bug 14765] New: newHolidays.pl doesn't handle unexpected input very well
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14765 Bug ID: 14765 Summary: newHolidays.pl doesn't handle unexpected input very well Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Holidays Assignee: koha-bugs@lists.koha-community.org Reporter: j.kylmala@gmail.com QA Contact: testopia@bugs.koha-community.org If I call new holidays without any parameters I get the error: "No branchcode argument to new. Should be C4::Calendar->new(branchcode => $branchcode) at /home/putti/kohaclone/tools/newHolidays.pl line 87." and also if there is malformed date in the input I get "Date::Calc::Day_of_Week(): not a valid date at /home/putti/kohaclone/C4/Calendar.pm line 609." -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org