[Rt-devel] Queue->CustomFields deprecated?

Dmitry Sivachenko mitya at cavia.pp.ru
Wed Apr 6 08:35:16 EDT 2005


Hello!

It seems the following patch is needed for RT-3.4.1 to prevent this
warning:

Mar  5 12:29:59 host RT: Queue->CustomFields is deprecated, use Queue->TicketCu
stomFields instead at /usr/local/rt3/lib/RT/Queue_Overlay.pm line 507.  (/usr/lo
cal/rt3/lib/RT.pm:277)


--- Modify.html.old	Wed Apr  6 16:31:16 2005
+++ Modify.html	Wed Apr  6 16:31:35 2005
@@ -62,7 +62,7 @@
 <%INIT>
   
 my $TicketObj = LoadTicket($id);
-my $CustomFields = $TicketObj->QueueObj->CustomFields();
+my $CustomFields = $TicketObj->QueueObj->TicketCustomFields();
 
 # Now let callbacks have a chance at editing %ARGS
 $m->comp('/Elements/Callback', TicketObj => $TicketObj, CustomFields => $CustomFields, %ARGS);


More information about the Rt-devel mailing list