RT::Queue::CustomFields deprecated?

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

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

forgot to cc listFrom: Ruslan Zakirov ruz@bestpractical.com
Date: Wed, Sep 17, 2008 at 1:44 AM
Subject: Re: [rt-users] RT::Queue::CustomFields deprecated?
To: Stephen Turner sturner@mit.edu

Stephen is right and deprecation had been done when we implemented CFs
on other records than tickets.

Method can be undeprecated for Queues’ custom fields.