[prev in list] [next in list] [prev in thread] [next in thread]
List: rt-devel
Subject: Re: [Rt-devel] TransactionBatch Scrips are not shown in
From: Kevin Falcone <falcone () bestpractical ! com>
Date: 2011-07-06 15:22:07
Message-ID: 20110706152207.GD920 () jibsheet ! com
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Wed, Jul 06, 2011 at 06:16:26PM +0300, Timo Teräs wrote:
> On 07/06/2011 05:02 PM, Kevin Falcone wrote:
> > On Wed, Jul 06, 2011 at 04:45:17PM +0300, Timo Teräs wrote:
> >> It seems that RT 4.0.1 has a bug in it, as I don't see any previews of
> >> the scrips sending mail in TransactionBatch state.
> >
> > This has been there long before 4.0.1
> >
> >> Just changing to TransactionCreate fixes the preview, but it causes
> >> other problems. I'd like to include the ticket status after all the
> >> transactions in the mail.
> >>
> >> Would it be easily fixable to include TransactionBatch Scrips for the
> >> preview?
> >
> > This is a known failure of TransactionBatch scrips, and adding them
> > to PreviewScrips is quite a lot of effort.
>
> Would it be then possible to create identical TransactionCreate scrip
> that triggers only for the preview? E.g. have TransactionCreate scrip be
> visible in previews, and have the TransactionBatch scip do the actual work.
In theory you could Prepare but not Commit in that TransactionCreate
scrip. Give it a shot and see what happens.
-kevin
[Attachment #5 (application/pgp-signature)]
_______________________________________________
Come work for us: http://blog.bestpractical.com/2011/06/were-hiring-come-hack-perl-for-best-practical.html
2011 Training: http://bestpractical.com/services/training.html
List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic