Skip Menu |

This queue is for tickets about the RT-Client-REST CPAN distribution.

Report information
The Basics
Id: 19110
Status: resolved
Priority: 5/
Queue: RT-Client-REST

People
Owner: DMITRI [...] cpan.org
Requestors: rcaputo [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: RT::Client::REST installs when RT::Interface::REST does not exist.
Date: Sat, 6 May 2006 00:12:24 -0400
To: bug-rt-client-rest [...] rt.cpan.org
From: Rocco Caputo <rcaputo [...] pobox.com>
I'm trying to use RT::Client::REST as a read-only interface to rt.cpan.org. Your module installs fine when RT is not present, but it doesn't work. A single use_ok() test would alert me to the problem at install time, rather than have me hunt for the issue across CPAN, backpan, and finally the web. A README file with a note about the non-CPAN dependency would have helped, too. -- Rocco Caputo - rcaputo@pobox.com
On Sat May 06 00:12:47 2006, rcaputo@pobox.com wrote: Show quoted text
> Your module installs fine when RT is not present, but it doesn't > work. A single use_ok() test would alert me to the problem at > install time, rather than have me hunt for the issue across CPAN, > backpan, and finally the web. A README file with a note about the > non-CPAN dependency would have helped, too.
Hi Rocco, RT::Client::REST indeed uses RT::Interface::REST, which is only available when you actually install RT. I had to choose between copying and pasting code or just assuming RT is installed... I will add the test for RT::Interface::REST in the next iteration. (Makefile.PL lists that package as a dependency, though). - Dmitri.
Fixed in 0.06. If RT::Interface::REST is installed, it is used. Otherwise, embedded copy (I copy-n-pasted them in) of auxiliary functions is used. - Dmitri.