forgot to cc list
---------- Forwarded message ---------- From: Ruslan Zakirov <[EMAIL PROTECTED]> Date: Wed, Sep 17, 2008 at 1:44 AM Subject: Re: [rt-users] RT::Queue::CustomFields deprecated? To: Stephen Turner <[EMAIL PROTECTED]> 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. On Tue, Sep 16, 2008 at 8:56 PM, Stephen Turner <[EMAIL PROTECTED]> wrote: > 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 > -- Best regards, Ruslan. -- Best regards, Ruslan. _______________________________________________ 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
