[rt-devel] Default Callbacks in share/html/Ticket/ModifyAll.html and share/html/Ticket/Modify.html
alexmv at bestpractical.com
Mon Apr 7 15:41:48 EDT 2014
On Mon, 2014-04-07 at 23:23 +0400, Орлянский Владимир wrote:
> In share/html/Ticket/Modify.html there is such description of Default
> $m->callback( TicketObj => $TicketObj, CustomFields => $CustomFields,
> ARGSRef => \%ARGS, skip_update => \$skip_update, results => \@results
> As result it is possible to add user messages to @results list
> But in share/html/Ticket/ModifyAll.html there is such description of
> Default Callback
> $m->callback( TicketObj => $Ticket, ARGSRef => \%ARGS, skip_update =>
> \$skip_update );
> As result is it impossible to add users messages to result list.
> Is it issue or I can not understand something?
I've just pushed a change for 4.2.4 that adds @results to that callback.
Until then, you can fake it by also using the BeforeActionList callback,
and (if necessary) passing information around between the two callbacks
using $m->notes or $ARGSRef.
More information about the rt-devel