[rt-devel] Reentrant Scrips

Jesse Vincent jesse at bestpractical.com
Fri Jan 11 17:20:43 EST 2002


Nothing innately taboo. but I can't think of a good way to catch infinite
recursion there.  It sounds like a new and better way to shoot oneself in
the foot ;)   I'd probably check to make sure that the transaction type you're
about to create isn't the same as the transaction type that was just created.

*ponder*


On Fri, Jan 11, 2002 at 11:12:56PM +0100, Bruce Campbell wrote:
> 
> Is there anything taboo about, say, creating a Comment on a ticket from
> within a ScripAction?
> 
> The main problem that I can see is that you open the possibility of
> recursing the RT server to death, unless you disable scrips, or catch the
> recursion the next time.  And in this instance, I'm wanting to keep the
> scrips enabled ;)
> 
> -- 
>                              Bruce Campbell                            RIPE
>                                                                         NCC
>                                                                  Operations
> 
> 
> 
> _______________________________________________
> rt-devel mailing list
> rt-devel at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-devel
> 

-- 
http://www.bestpractical.com/products/rt  -- Trouble Ticketing. Free.




More information about the Rt-devel mailing list