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

Attachment: pgp3zA7alUYVk.pgp
Description: PGP signature

--------
RT Training Sessions (http://bestpractical.com/services/training.html)
*  San Francisco, CA, USA — October 18 & 19, 2011
*  Washington DC, USA — October 31 & November 1, 2011
*  Barcelona, Spain — November 28 & 29, 2011

Reply via email to