[rt-users] CLI - response / status problem

Christian Hammers ch at westend.com
Thu Oct 28 08:31:00 EDT 2004


On Tue, Oct 26, 2004 at 02:06:36PM -0700, Jason Taylor wrote:
> I've been trying to use the CLI without success.  I've finally tracked 
> down the problem there being no newline, let alone two, after the 
> status.

Change html/REST/1.0/search/ticket at the bottom from
 $m->out("RT/". $RT::VERSION . " " . $status);
to
 $m->out("RT/". $RT::VERSION . " " . $status . "\r\n");



Although I still have the following error message in version 3.3.10:
	$ RTDEBUG=3 rt ls -i "CustomFieldValue.{Kunde} like '10829%'"
	...
	RT/3.3.10 200 Ok
	ticket/58
	Use of uninitialized value in print at /usr/bin/rt line 270.

Any ideas why? The offending line says "print $r->content;"

bye,

-christian-


> --xYzZY--
> HTTP/1.1 200 OK
> Connection: close
> Date: Tue, 26 Oct 2004 20:46:28 GMT
> Server: Apache/2.0.52 (FreeBSD) mod_perl/1.99_16 Perl/v5.8.5 
> mod_fastcgi/2.4.2 DAV/2 mod_auth_kerb/5.0-rc5 PHP/5.0.2 SVN/1.0.8
> Content-Type: text/plain; charset=ISO-8859-1
> Client-Date: Tue, 26 Oct 2004 20:46:28 GMT
> Client-Peer: 172.16.1.27:1080
> Client-Response-Num: 1
> Client-Transfer-Encoding: chunked
> 
> RT/3.2.2 200 Ok188: A2PC: Facilities - Parking
> 191: A2PC: Facilaties - Parking: Phase III
> 192: A2PC: Facilaties - Parking: Phase IV
...

-- 
Christian Hammers             WESTEND GmbH  |  Internet-Business-Provider
Technik                       CISCO Systems Partner - Authorized Reseller
                              Lütticher Straße 10      Tel 0241/701333-11
ch at westend.com                D-52064 Aachen              Fax 0241/911879




More information about the rt-users mailing list