
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.... peter

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

Hi Peter, sorry for the long delay. This should work now with the current cvs head. Thanks for your help! -Martin Peter Gervai wrote:
On Wed, 15 Sep 2004 00:28:59 +0200, Peter Gervai
wrote: 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
_______________________________________________ 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
participants (2)
-
Martin Edenhofer
-
Peter Gervai