wir benutzen OTRS 3.0.7 mit ITSM 1.0.7.
habe in "AgentTicketForward" Modul fürs TicketStatus biss. verändert, um das alte Status im "AgentTicketZoom" Modul als Default Status in "Forward" Modul überzunehmen. die Änderung sieht unten:
Code: Select all
# build next states string
my %State;
if ( !$Param{ComposeStateID} ) {
$State{SelectedValue} = $Self->{Config}->{StateDefault};
}
else {
$State{SelectedID} = $Param{ComposeStateID};
}
#----- Veränderung mit Method "OptionStrgHashRef()"
$Param{NextStatesStrg} = $Self->{LayoutObject}->OptionStrgHashRef(
Data => $Param{NextStates},
Name => 'ComposeStateID',
%State,
);
#---------------------------------------------------
my %ArticleTypes;
my @ArticleTypesPossible = @{ $Self->{Config}->{ArticleTypes} };
for (@ArticleTypesPossible) {
$ArticleTypes{ $Self->{TicketObject}->ArticleTypeLookup( ArticleType => $_ ) } = $_;
}
if ( $Self->{GetParam}->{ArticleTypeID} ) {
$Param{ArticleTypesStrg} = $Self->{LayoutObject}->BuildSelection(
Data => \%ArticleTypes,
Name => 'ArticleTypeID',
SelectedID => $Self->{GetParam}->{ArticleTypeID},
);
}
Code: Select all
Software error:
Can't locate object method "OptionStrgHashRef" via package "Kernel::Output::HTML::Layout" at /opt/otrs//Kernel/Modules/AgentTicketForward.pm line 985.
For help, please send mail to the webmaster ([no address given]), giving this error message and the time and date of the error.
das nervt uns, wenn wir das Ticket weiterleiten, teilen möchten, wird das im neuen Modul Default Status immer als "open" ersetzt. Das lässt unsere Agents mit Ticketstatus immer Fehler gemacht haben.
hat jemand Ahnung darüber?
vielen Dank & schönes WE