Re: No ConfigObject in cleanup
Michiel Beijen <[email protected]>
| Newsgroups | gmane.comp.otrs.devel |
|---|---|
| Message-ID | <CABD0r13-e_syMeHLiJt7feBEjuKhstb3UW9N0iQniFMx6uX5=A@mail.gmail.com> |
Hi Juan, On Tue, Feb 19, 2013 at 12:11 PM, Juan Manuel Clavero Almirón <[email protected]> wrote: > 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.57&r2=1.58 I hope this helps you fix the problem! -- Mike _______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev