[rt-users] REST queries/search for queue objects in 4.0.2

Kevin Falcone falcone at bestpractical.com
Fri Oct 14 17:49:31 EDT 2011


On Fri, Oct 14, 2011 at 06:40:45PM +0000, Srikumar Nair wrote:
> I am trying to use the following two lines of code to get started with the
> PERL API..
> 
> my $ticket = RT::Ticket->new($RT::SystemUser);
> $ticket->Create( Queue => 'General', Subject => 'Test Ticket');
> 
> 
> But it results in the error..
> 
> Can't call method "CaseSensitive" on an undefined value at
> /opt/rt4/lib/RT/Record.pm line 363.
> 
> Has anyone seen this issue?

Hopefully you have more than just those two lines in the file, I
suspect that your preamble isn't loading and connecting properly.

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20111014/97bda814/attachment.sig>


More information about the rt-users mailing list