[rt-users] Custom condition problem

Ruslan Zakirov ruz at bestpractical.com
Wed Sep 15 12:22:58 EDT 2010


Hi,

As far as I can see error is not related to the scrip. Error happens in
Web.pm.

15.09.2010 2:50 пользователь "Sergey Kozhedub" <sevk at maks.net> написал:

Hello all,

I'm trying to implement MuteResolve (
http://wiki.bestpractical.com/view/MuteResolve) in my RT-3.8.4 installation
but it doesn't work for me.
Finally I cut my script just to:
{code}
return 0 unless ($self->TransactionObj->Type eq "Status" &&
$self->TransactionObj->NewValue eq "resolved");

return 1;
{code}

When changing status of the ticket to open I don't see any errors. But if I
resolve the ticket I always get this error in logs:
Sep 15 00:17:38 rt RT: Couldn't load object RT::Transaction #0 (/var/www/
rt.iptp.net/bin/../lib/RT/Interface/Web.pm:1127)

What I'm doing wrong?

Condition: User Defined
Action: Notify Requestors
Template: Global template: Resolved
Stage: TransactionBatch


Regards,
Sergey Kozhedub

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year -- Learn how to get the most out of RT!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100915/66c07751/attachment.htm>


More information about the rt-users mailing list