[rt-users] Odd behavior of queue name translation in RT::TIcket::LimitCustomFIeld()

Len Jaffe lenjaffe at jaffesystems.com
Fri Feb 7 11:10:52 EST 2014

We're on RT 4.0.17.

I have this code snippet in a test (Yay TDD):
 my $tickets = RT::Tickets->new(GetCurrentUser());
 my $queue ='foo'
 $tickets->LimitCustomField(CUSTOMFIELD => $internal_gid, OPERATOR => '=',
VALUE => "i$generic_id", QUEUE => $queue );
 my $ticket = $tickets->Next;

The error from ticket->Next() is:

[Fri Feb  7 16:00:07 2014] [warning]: RT::Queue '{83}' doesn't exist,
parsed from '{83}.{Internal_GenericID}'

The queue in question is the queue with ID 83, and does exist. I just added
the ticket to it.

Is this a known bug in queue name handling, is it something I've done
is there a known workaround?


lenjaffe at jaffesystems.com   614-404-4214    @lenjaffe
Information Technology Smoke Jumper, Host of Columbus Code
www.lenjaffe.com     http://www.theycomewithcheese.com
Perl Advent Planet <http://www.lenjaffe.com/PerlAdventPlanet/> - Advent
Calendars: Perlish and otherwise.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140207/7953f6d5/attachment.htm>

More information about the rt-users mailing list