[rt-devel] Scrip using TransactionBatch is run twice

Emmanuel Lacour elacour at easter-eggs.com
Fri Oct 9 06:57:05 EDT 2015


I just discovered on RT 4.0.13 and 4.2.4 (not tested on latest one) that
creating a scrip with:

condition: "AnyTransaction"
custom prepare code: "return 1;"
custom commit code : RT->Logger->debug("test scrip"); return 1;
stage: Batch

then doing an update on the ticket using /Ticket/Update.html with a
corespondence and a cf change, the scrip action commit code is run twice!

do I misunderstand something or is this really a bug?



-- 
Easter-eggs                              Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris  -  France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -   Fax: +33 (0) 1 43 35 00 76
mailto:elacour at easter-eggs.com  -   http://www.easter-eggs.com


More information about the rt-devel mailing list