Le 28/07/2016 à 09:23, Reinhold Pescoller a écrit :
>
>>>
>> it should works (it works here). What version of RT are you using. Can
>> you send me the full error log?
>>
>>
>> I see that your callback is named "MassageCloneArgs". Is this a typo in
>> this email, there is no "Args" at the end.
>>
>>
>>
>>
> I use version 4.4.0.
>
> In my Create.html i found this name:
>
> $m->callback( CallbackName => 'MassageCloneArgs', ARGSRef => $clone,
> Queue => $Queue );
>
>
>
I see, I used a self made callback:
$m->callback( CallbackName => "MassageClone", Clone => \$clone,
CloneTicketObj => $CloneTicketObj, ARGSRef => \%ARGS );
Which pass the original ticketobj, so with the new standard
MassageCloneArgs, the code should looks like:
<%init>
my $CloneTicketObj = LoadTicket( $$DECODED_ARGS{'CloneTicket'} );
$$ARGSRef{Requestors} = $CloneTicketObj->OwnerObj->EmailAddress;
</%init>
<%args>
$ARGSRef => undef
</%args>
--
Easter-eggs Spécialiste GNU/Linux
44-46 rue de l'Ouest - 75014 Paris - France - Métro Gaité
Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76
mailto:[email protected] - http://www.easter-eggs.com
---------
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Los Angeles - September, 2016