[rt-devel] updating RTx::Tags for RT4
ruz at bestpractical.com
Thu May 9 16:37:35 EDT 2013
On Thu, May 9, 2013 at 6:58 PM, Darin Perusich <darin at darins.net> wrote:
> Hello All,
> I'm attempting to update the RTx::Tags extension,
> http://search.cpan.org/dist/RTx-Tags, to support RT4 since the
> maintainer's no longer using RT and I think it'll be a useful plugin.
> This is my first crack at something like this so bare with me.
> In a post about this extension from last year a comment was made that
> it's " building the status list in the old 3.8 way rather than using
> the RT::Queue->ActiveStatusArray". What exactly does this mean?
This means that ActiveStatusArray method  of RT::Queue object should be
used to get list of statuses in a queue.
If you need all possible active statuses then you should use methods in
RT::Lifecycle module .
> The extension is also building a select to query the database, see
> Is this the best way to do this or should one of the RT::Search
> modules be employed?
AFAICS this code will work with 4.0 without problems. You should
concentrate on UI first as most probably to port extension over 4.0 you
just need to change how it puts links into menus.
> In the mentioned query you have the following part:
Above is not valid SQL. However, it's obvious that empty "IN" list means
that extension just is not able to get list of statuses.
> RT Training in Seattle, June 19-20: http://bestpractical.com/training
Best regards, Ruslan.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rt-devel