[rt-users] Defining custom attributes
Carlos Silva
cmsilva at mobicomp.com
Tue Apr 1 05:53:05 EDT 2008
I am trying to define a custom attribute for queues, but I can't find
what I'm doing wrong, maybe some of you can help me.
Here's my code:
my $at = RT::Attributes->NewItem($session{'CurrentUser'});
$at->Create(ObjectType => "RT::Queue", ObjectId => $QueueObj->Id, Name
=> "Etc", Description => "Etc", Content => "Etc");
The requests fail with "Can't use string ("RT::Attributes") as a HASH
ref while "strict refs" in use".
Thank you for your time.
Regards,
Carlos Silva
More information about the rt-users
mailing list