
Hi Juan,
On Tue, Feb 19, 2013 at 12:11 PM, Juan Manuel Clavero Almirón
We want to make a script that would change a ticket owner depending on some conditions. We have some requirements for the execution that force us to run directly from cron instead of as a Generic Agent task. The assignment is correctly done but it seems there are several problems after the execution:
(in cleanup) Can't call method "FETCH" on an undefined value at /usr/lib/perl5/vendor_perl/5.8.8/Net/LDAP.pm line 247 during global destruction. (in cleanup) Got no ConfigObject! at /opt/otrs/Kernel/GenericInterface/Event/Handler.pm line 37 during global destruction.
It is a scoping issue, This looks similar to bug 4089 - http://bugs.otrs.org/show_bug.cgi?id=4089 which was against bin/GenericAgent.pl and for which this was the fix: http://source.otrs.org/viewvc.cgi/otrs/bin/GenericAgent.pl?hideattic=0&r1=1.... I hope this helps you fix the problem! -- Mike