[Rt-devel] Question about rt-extension-extractcustomfieldvalues design

Todd Chapman todd at chaka.net
Mon Oct 25 01:41:41 EDT 2010


On Sun, Oct 24, 2010 at 11:45 PM, Jesse Vincent <jesse at bestpractical.com>wrote:

>
>
>
> On Sun 24.Oct'10 at 11:57:10 -0400, Todd Chapman wrote:
> > Is there some reason extractcustomfieldvalues does it's work in Commit
> instead
> > of Prepare?
>
> ...because that's when you're supposed to actually do the work.  What
> you're looking for is a sensible request and is something we intend to
> address when we get Scrips' replacement out the door.
>

Interesting that the work of evaluating the template is done in Prepare.

What is the status of the scrips replacement? It a preview available on the
github repo?

Also, will scrips for objects other that tickets be supported?


> > I would think it fairly common to want to use { $Ticket->
> > FirstCustomFieldValue('foo') } in email templates, but
> > since extractcustomfieldvalues does it's work in Commit and the templates
> are
> > evaulated in Prepare, even scrip ordering doesn't make this possible.
> >
> > Thanks.
> >
> > -Todd
>
> > _______________________________________________
> > List info:
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-devel/attachments/20101025/86561be1/attachment.html>


More information about the rt-devel mailing list