Re: [rt-users] Notifications are sent before status and custom field changes are applied?

2013-07-25 Thread Kevin Falcone
Please respect my Reply-To headers, I set them to the list because I read all mail sent to the list. There is absolutely no need to CC me. On Wed, Jul 24, 2013 at 12:14:10PM +0800, Craig Ringer wrote: > On 07/23/2013 09:00 PM, Kevin Falcone wrote: > > On Tue, Jul 23, 2013 at 03:56:49PM +0800, Cra

Re: [rt-users] Notifications are sent before status and custom field changes are applied?

2013-07-24 Thread Craig Ringer
On 07/25/2013 12:49 AM, Thomas Sibley wrote: > On 07/23/2013 12:56 AM, Craig Ringer wrote: >> Do any of the other RT users here know of a reason *not* to use >> TransactionBatch for sending email notifications? > > Be wary of $self->TransactionObj in TransactionBatch scrips; it isn't > guaranteed

Re: [rt-users] Notifications are sent before status and custom field changes are applied?

2013-07-24 Thread Thomas Sibley
On 07/23/2013 12:56 AM, Craig Ringer wrote: > Do any of the other RT users here know of a reason *not* to use > TransactionBatch for sending email notifications? Be wary of $self->TransactionObj in TransactionBatch scrips; it isn't guaranteed to be the transaction that matched the scrip condition

Re: [rt-users] Notifications are sent before status and custom field changes are applied?

2013-07-23 Thread Craig Ringer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/23/2013 09:00 PM, Kevin Falcone wrote: > On Tue, Jul 23, 2013 at 03:56:49PM +0800, Craig Ringer wrote: >> Do any of the other RT users here know of a reason *not* to use >> TransactionBatch for sending email notifications? > > TransactionBatch

Re: [rt-users] Notifications are sent before status and custom field changes are applied?

2013-07-23 Thread Kevin Falcone
On Tue, Jul 23, 2013 at 03:56:49PM +0800, Craig Ringer wrote: > Do any of the other RT users here know of a reason *not* to use > TransactionBatch for sending email notifications? TransactionBatch Scrips do not show up in the Preview Scrips UI, so you'll be unable to squelch users either at the Ti

[rt-users] Notifications are sent before status and custom field changes are applied?

2013-07-23 Thread Craig Ringer
Hi all I was recently surprised to see that when a ticket is updated via the web ui, notifications appear to be sent to ticket/queue watchers before any custom field changes are applied. Tested in 4.0.13, albeit with a DB that was created originally on 4.0.7. After reading the code in question, i