
hello, things are going great with the otrs system we started using earlier in the week, really enjoying it, thanks for the great software. i'm running into errors in GenericAgent.pm which I've been unable to find any threads about in the archives of this list. the error refers to the first line of the 'close spam' job which i copy/pasted from http://doc.otrs.org/1.2/en/html/generic-agent-example.html#AEN1035 into my Kernel/Config/GenericAgent.pm here are the errors: tickets:/opt/otrs # bin/GenericAgent.pl Useless use of a constant in void context at /opt/otrs/Kernel/Config/GenericAgent.pm line 44. Useless use of single ref constructor in void context at /opt/otrs/Kernel/Config/GenericAgent.pm line 44. I'm running OTRS 1.2.2 under SuSE 9.0 my GenericAgent.pm version is GenericAgent.pm.dist,v 1.7 2004/02/12 perms are as set by rpm/YaST2 at install and a recent run of bin/SetPermissions.sh here is the job copy/pasted from my Kernel/Config/GenericAgent.pm: <snip> # -- # [name of job] -> close all tickets in queue Junk # -- 'close spam' => { # get all tickets with this properties Queue => 'spam', States => ['new', 'open'], Locks => ['unlock'], # new ticket properties (no option is required, use just the options # which should be changed!) New => { # new queue Queue => 'spam', # possible states (closed successful|closed unsuccessful|open|new|remove d) State => 'closed successful', # new ticket owner (if needed) Owner => 'root@localhost', # if you want to add a Note Note => { From => 'GenericAgent', Subject => 'spam!', Body => 'Closed by GenericAgent.pl because it is spam!', }, }, }, </snip> the queue named 'spam' does exist. any ideas what i might be doing wrong? tia, ~steven