[rt-users] EditCustomFieldsOnUpdate does not work anymore

Todd Chapman todd at chaka.net
Tue Jul 25 11:34:30 EDT 2006


On Tue, Jul 25, 2006 at 05:10:59PM +0200, Koopmann, Jan-Peter wrote:
> On Tuesday, July 25, 2006 5:05 PM Todd Chapman wrote: 
> 
> > > I found the problem. At the bottom of Display.html a redirect was
> > added before the callback that EditCustomFieldsOnUpdate is trying to
> > use to update the CFs. If the callback was moved above the preceeding
> > if statement things should start working.   
> 
> You are my hero of the day. Thanks!
> 
> > The callback also needs @Actions passed to it so that the CF updates
> > can be recorded. 
> 
> That part I honestly do not fully understand. Would you happen to have a
> patch?

In Display.html add  "Actions => \@Action" to
the callback arguments. In the callback itself
add line "push @{$ARGS{Actions}}, @cf_results;".

> 
> Kind regards,
>   JP



More information about the rt-users mailing list