
On Wed, 15 Sep 2004 00:28:59 +0200, Peter Gervai
I think it's a COnfig/GenericAgent.pm (the config) issue, but maybe GA shouldn't just plainly die.
Problem is at:
if ($Param{Config}->{New}->{Queue}) { if ($Self->{NoticeSTDOUT}) { print " - Move Ticket $Ticket to Queue '$Param{Config}->{New}->{Queue}'\n"; print " == QO:'" . $Self->{QueueObject} . "'\n"; #line by me } $Self->{TicketObject}->MoveTicket( QueueID => $Self->{QueueObject}->QueueLookup(Queue=>$Param{Config}->{New}->{Queue}, Cache => 1), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ here UserID => $Param{UserID}, TicketID => $Param{TicketID}, ); }
problem is: $Self->{QueueObject} == undef, and the job dies on that. My other problem is that I cannot figure out now why, or what causes the problem....
the rule in question is: 'lejart Mailbox Hibakba' => { Queue => 'Mailbox', Escalation => 1, New => { Queue => 'Hibak', Note => { From => 'GenericAgent', Subject => 'Lejart hiba!', Body => 'Ez a Mailboxban levo hiba lejart!', ArticleType => 'note-internal', } }, }, I cannot see any errors.... do you? peter