Code: Select all
$Self->{'TicketFreeText1::DefaultSelection'} = '3 normal';
$Self->{'TicketFreeText1'} = {
'' => '-',
'1' => '1 very low',
'2' => '2 low',
'3' => '3 normal',
'4' => '4 high',
'5' => '5 very high'
};
$Self->{'TicketFreeKey1'} = {
'Visibility' => 'Visibility'
};
The DefaultSelection does not work. I have tried setting it to the Key, and the Value, and neither works. Above you see it is set to the Value ('3 normal'). No matter the view where I activate this field, the HTML page always ends up with no default selection, so it reverts to '-' or whatever I have first in the list.
This is OTRS 3.0.9 with ITSM. What am I doing wrong? I don't see mention of this bug fixed in the 3.0.10 or 3.0.11 release notes.