My problem solved by commenting a respective code block in Kernel/Modules/AgentTicketCompose.pm
Code: Select all
# set pending time
#elsif ( $StateData{TypeName} =~ /^pending/i ) {
# $Self->{TicketObject}->TicketPendingTimeSet(
# UserID => $Self->{UserID},
# TicketID => $Self->{TicketID},
# Year => $GetParam{Year},
# Month => $GetParam{Month},
# Day => $GetParam{Day},
# Hour => $GetParam{Hour},
# Minute => $GetParam{Minute},
# );
#}
Yes, it's dirty but it works.
Sending an Agent response doesn't broke a pending time now. And there is possibility to change the state to another.
P.S. Sorry for my English. I consider issue solved.