Hi,
I have some trouble with the GenericAgent.pl: it regularly stops after
treating a certain number of messages. The error is always:
"Modification of non-creatable array value attempted, subscript -1 at
/opt/otrs/Kernel/System/Ticket/Article.pm line 473."
The action that it failing is the following:
'ClosePostMaster' => {
# get all tickets with these properties
Queue => 'Postmaster',
States => ['new', 'open'],
Locks => ['unlock'],
# new ticket properties (no option is required, use just the options
# which should be changed!)
New => {
State => 'closed successful',
},
},
It seems that it only fails after a treating correctly a rather large
number of tickets (possibly around 800). If it is started again, after the
failure, it runs again to some extend and stops. So by successive
iterations it is possible to finish the job. I'm running OTRS 1.1.1, maybe
this is a known/fixed bug?
Still on GenericAgent: is there a possibility to run the program so that
it perfomr different tasks at different times? E.g. I'd like to close all
tickets in queue1 each 10 minutes, and delete the content of another queue
once a day. It seems not possible to call GenericAgent.pl with a different
config file, or am I wrong? Any other way to do this?
Best regards,
Gilles
--
RESTENA - DNS-LU
6, rue Coudenhove-Kalergi
L-1359 Luxembourg
tel: (+352) 424409
fax: (+352) 422473