Subject: | Due and Priority changes in TransactionBatch after SLA modification |
Date: | Fri, 19 Sep 2014 10:18:30 +0300 |
To: | bug-RT-Extension-SLA [...] rt.cpan.org |
From: | Andrius Kulbis <andrius.kulbis [...] gmail.com> |
I noticed that after modifying SLA CustomField value, the Due and
Priority are changed in TransactionBatch not TransactionCreate mode.
[58456] [Fri Sep 19 07:10:16 2014] [debug]: Found 1 scrips for
TransactionBatch stage with applicable type(s)
Set,Status,SetWatcher,CustomField for txn #1787231 on ticket #120949
(/opt/rt4/sbin/../lib/RT/Scrips.pm:495)
[58456] [Fri Sep 19 07:10:16 2014] [debug]: Skipping Scrip #249 because
it didn't Prepare (/opt/rt4/sbin/../lib/RT/Scrips.pm:361)
[58456] [Fri Sep 19 07:10:16 2014] [debug]: Found 1 scrips for
TransactionBatch stage with applicable type(s) Set for txn #1787236 on
ticket #120949 (/opt/rt4/sbin/../lib/RT/Scrips.pm:495)
[58456] [Fri Sep 19 07:10:16 2014] [debug]: Skipping Scrip #249 because
it didn't Prepare (/opt/rt4/sbin/../lib/RT/Scrips.pm:361)
[58456] [Fri Sep 19 07:10:16 2014] [debug]: Found 1 scrips for
TransactionBatch stage with applicable type(s) Set for txn #1787237 on
ticket #120949 (/opt/rt4/sbin/../lib/RT/Scrips.pm:495)
[58456] [Fri Sep 19 07:10:16 2014] [debug]: Skipping Scrip #249 because
it didn't Prepare (/opt/rt4/sbin/../lib/RT/Scrips.pm:361)
The first line shows the batch of transactions (changed subject, status,
owner, some customfields - also SLA).
Third and fifth lines show the Set - Due and Set - Priority
transactions, fired by an SLA change.
If I compare the Due and Priority values in process of first and fifth
lines, they are different. Should it act like so? Because I can't work
out the "AfterAllTicketChanges" scrip.
Regards.