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.kylm...@gmail.com QA Contact: testo...@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. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/