[rt-devel] lib/RT/Ticket.pm introspection callback for Kanban 4.2.12 rt-extension-kanban

Christian Loos cloos at netcologne.de
Wed Mar 2 08:19:17 EST 2016


Hi Joachim,

actually this isn't necessary.
You can overwrite the Create method and call inside your Create method
the original Create method.

Have a look at this:
https://github.com/bestpractical/rt-extension-repliestoresolved/blob/master/lib/RT/Extension/RepliesToResolved.pm#L102-L146

Chris

Am 02.03.2016 um 13:52 schrieb Joachim Schiele:
> sub RT_WebSocket_Callback {
>   # with no implementation
> }
> 
> sub Create {
> my $self = shift;
> 
> my %args = (
> id => undef,
> ... many more values ...
> _RecordTransaction => 1,
> DryRun => 0,
> @_
> );
> RT_WebSocket_Callback( with a array of IDs )



More information about the rt-devel mailing list