[rt-users] Bug in RT 3.4.5 REST CLI

Philip Kime pkime at Shopzilla.com
Wed May 10 18:33:48 EDT 2006


I think this is a minor bug:
 
/usr/local/rt/bin/rt create -t ticket set Queue=queue1
Requestor=test at shopzilla.com Subject=RESTtest1
Argument "new" isn't numeric in sort at /usr/local/rt/bin/rt line 1282.
# Ticket 47125 created.
 
Ticket gets created ok but the expand_list routine in the "rt" cli
script tries to numerically sort ids even when the only id is "new".
 
I just put this in the subroutine to fix it:
 
    return $list if $list eq "new";
 
 
--
Philip Kime
NOPS Systems Architect
310 401 0407
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20060510/d208d40d/attachment.htm>


More information about the rt-users mailing list