ScripActionObj question

I see that something has been changed related to the "ScripActionObj"
in 3.4.3. I just upgraded to 3.4.4 from 3.4.2 and now a custom script
we use (utilizing rt-crontool) is failing. It dies in
lib/RT/Action/SendEmail.pm when forming the Message-ID header.

The problem is that $self->ScripActionObj is undefined.

Why would this start happening now? I have spent a good bit of time
trying to figure out the program flow to bring me to this point… The
particular email that is being triggered here is the result of a scrip
that runs when a ticket is set to resolved and the requestor is to be
notified. I do not seem to be seeing this error at any other time –
even in other cases where this “Notify Requestor when Resolved” scrip
runs (say, when you manually close the ticket through the web
interface).

Any pointers as to how to debug this would be helpful. More
specifically, which object has the responsibility of setting the
ScripActionObj and is it allowed to be undefined?

TIA

Trask
Technical Support Engineer

I see that something has been changed related to the "ScripActionObj"
in 3.4.3. I just upgraded to 3.4.4 from 3.4.2 and now a custom script
we use (utilizing rt-crontool) is failing. It dies in
lib/RT/Action/SendEmail.pm when forming the Message-ID header.
Give us exactly error messages, our telepathic guessing module is
broken for a long time.
Also could you provide minimal code that demonstrate the problem you see?

The problem is that $self->ScripActionObj is undefined.

Why would this start happening now? I have spent a good bit of time
trying to figure out the program flow to bring me to this point… The
particular email that is being triggered here is the result of a scrip
that runs when a ticket is set to resolved and the requestor is to be
notified. I do not seem to be seeing this error at any other time –
even in other cases where this “Notify Requestor when Resolved” scrip
runs (say, when you manually close the ticket through the web
interface).

Any pointers as to how to debug this would be helpful. More
specifically, which object has the responsibility of setting the
ScripActionObj and is it allowed to be undefined?

TIA

Trask
Technical Support Engineer


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials from O’Reilly Media at http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at http://bestpractical.com/services/training.html

Best regards, Ruslan.