Bug 8969 - Error while adding a repeatable holiday on the tools Calendar
Summary: Error while adding a repeatable holiday on the tools Calendar
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: 3.8
Hardware: All All
: P5 - low normal (vote)
Assignee: Galen Charlton
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-25 10:13 UTC by Rolando Isidoro
Modified: 2015-06-04 23:23 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rolando Isidoro 2012-10-25 10:13:28 UTC
Got the following software error as I was trying to add a repeatable holiday in Tools > Calendar:

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 194

DateTime::new(undef, 'year', undef, 'month', undef, 'day', undef) called at intranet/cgi-bin/tools/newHolidays.pl line 129

main::add_holiday('holidayrangerepeat', 'FCT', 2, 1, 1, 2013, 'Dia de Ano Novo', '') called at intranet/cgi-bin/tools/newHolidays.pl line 66

Here are the details of the options I selected during the operation:
* From date - 2013/01/01
* Title - Dia de Ano Novo
* Description - <empty>
* Holidays repeated yearly on a range - option selected
* Copy to all libraries - option activated
Comment 1 Owen Leonard 2014-07-16 16:56:12 UTC
I can't reproduce this problem in master.