Scrip using TransactionBatch is run twice
Emmanuel Lacour <[email protected]> Fri, 9 Oct 2015 12:57:05 +0200
| Newsgroups | gmane.comp.bug-tracking.request-tracker.devel |
|---|---|
| Message-ID | <[email protected]> |
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:[email protected] - http://www.easter-eggs.com