[Koha-bugs] [Bug 14765] New: newHolidays.pl doesn't handle unexpected input very well
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Sep 1 07:32:41 CEST 2015
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 at lists.koha-community.org
Reporter: j.kylmala at gmail.com
QA Contact: testopia at 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.
More information about the Koha-bugs
mailing list