[rt-users] problems with commandline tool

Phil Homewood pdh at snapgear.com
Sun Nov 17 17:46:03 EST 2002


Nils Ketelsen wrote:
> [nils at cassandra nils]$ /usr/local/rt2/bin/rt --limit-body=Hallo
> Can't locate object method "LimitBody" via package "RT::Tickets" (perhaps
> you forgot to load "RT::Tickets"?) at /usr/local/rt2/bin/rt line 569.

Bug in the "rt" command. The attached patch fixes this.
-- 
Phil Homewood, Systems Janitor, www.SnapGear.com
pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances
-------------- next part --------------
Index: bin/rt
===================================================================
RCS file: /cvs/local/rt/bin/rt,v
retrieving revision 1.4
diff -u -r1.4 rt
--- bin/rt	20 Jul 2002 08:04:11 -0000	1.4
+++ bin/rt	17 Nov 2002 22:41:08 -0000
@@ -570,7 +570,7 @@
 	    
 	    $op = ParseLikeOp($op);
 	    
-		$Tickets->LimitBody(VALUE => $val,
+		$Tickets->LimitContent(VALUE => $val,
 				    OPERATOR => $op );
 	}	
 	


More information about the rt-users mailing list