We have a 24x7 SLA where I have to define the TimeVacationDaysOneTime and TimeVacationDays List as empty.
I tried to configure it like this:
Code: Select all
<ConfigItem Name="TimeVacationDays::Calendar1" Required="1" Valid="1">
<Description Translatable="1">Adds the permanent vacation days for the indicated calendar. Please use single
digit pattern for numbers from 1 to 9 (instead of 01 - 09).</Description>
<Group>Framework</Group>
<SubGroup>Core::Time::Calendar1</SubGroup>
<Setting>
<TimeVacationDays>
</TimeVacationDays>
</Setting>
</ConfigItem>
Code: Select all
]# bin/otrs.RebuildConfig.pl -?
otrs.RebuildConfig.pl - OTRS rebuild default config
Copyright (C) 2001-2015 xxx, http://otrs.com/
Can't use an undefined value as an ARRAY reference at /opt/otrs/Kernel/System/SysConfig.pm line 2271.
I didn't find anything on that in the Documentation and all the default-calendars have at least one item defined. ;(
I think I could have done it as a perl (.pm) config file, but I tried to keep the base configuration in xml.
Code: Select all
$Self->{'TimeVacationDays::Calendar1'} = {};