On Tue, 16 Sep 2008 10:44:10 -0400, Todd Chapman <[EMAIL PROTECTED]> wrote:

> Using the CustomFields method on a Queue object issues a deprecation
> warning. Why should this be? RT::Queue ISA RT::Record, which has a
> CustomFields method.
>
> So I would think RT::Queue::CustomFields would just silently call
> TicketCustomFields. I realize transaction custom fields complicate this  
> in
> theory but not in common practice.
>
> -Todd

I think the deprecation makes sense - RT::Record->CustomFields gives you  
fields attached to an instance of the record type. So for a RT::Queue  
object this would mean custom fields attached to the queue (not the  
queue's tickets). So I think the deprecated method contradicts the intent  
of Record->CustomFields.

Steve

-- 
Stephen Turner
Senior Programmer/Analyst - SAIS
MIT IS&T
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to