RT::User::HasQueueRight equiv in rt3?

Bruce’s AutoTake generated the below error on rt2.1.78. Is there an equiv
function that I should use instead?

Can they own a ticket in this queue?

if( $self->TransactionObj->CreatorObj->HasQueueRight(
QueueObj => $self->TicketObj->QueueObj, Right => ‘OwnTicket’ ) ){

[Wed Mar 5 23:23:53 2003] [error]: Scrip 28 died. - RT::User::HasQueueRight
Unimplemented in RT::Action::AutoTake. (/opt/rt3/lib/RT/Action/AutoTake.pm
line 36)

Stack:
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:281]
[/usr/lib/perl5/site_perl/5.8.0/DBIx/SearchBuilder/Record.pm:458]
[/opt/rt3/lib/RT/Action/AutoTake.pm:36]
[/opt/rt3/lib/RT/ScripAction_Overlay.pm:193]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:406]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:345]
[/opt/rt3/lib/RT/Transaction_Overlay.pm:169]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:3649]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:2274]
[/opt/rt3/lib/RT/Interface/Web.pm:388]
[/opt/rt3/share/html/Ticket/Display.html:101]
[/opt/rt3/local/html/Ticket/Update.html:190]
[/opt/rt3/share/html/autohandler:146]
(/opt/rt3/lib/RT/Scrip_Overlay.pm:360)

matthew zeier | “Nothing in life is to be feared.
InteleNet Communications, Inc. | It is only to be understood.”
(949) 784-7904 | - Marie Curie

Have a look at HasRight in User_Overlay.pm.

I think you want ->HasRight( Object => $self->TicketObj->QueueObj, Right => ‘OwnTicket’)On Wed, Mar 05, 2003 at 03:32:34PM -0800, matthew zeier wrote:

Bruce’s AutoTake generated the below error on rt2.1.78. Is there an equiv
function that I should use instead?

Can they own a ticket in this queue?

if( $self->TransactionObj->CreatorObj->HasQueueRight(
QueueObj => $self->TicketObj->QueueObj, Right => ‘OwnTicket’ ) ){

[Wed Mar 5 23:23:53 2003] [error]: Scrip 28 died. - RT::User::HasQueueRight
Unimplemented in RT::Action::AutoTake. (/opt/rt3/lib/RT/Action/AutoTake.pm
line 36)

Stack:
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:281]
[/usr/lib/perl5/site_perl/5.8.0/DBIx/SearchBuilder/Record.pm:458]
[/opt/rt3/lib/RT/Action/AutoTake.pm:36]
[/opt/rt3/lib/RT/ScripAction_Overlay.pm:193]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:406]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:345]
[/opt/rt3/lib/RT/Transaction_Overlay.pm:169]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:3649]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:2274]
[/opt/rt3/lib/RT/Interface/Web.pm:388]
[/opt/rt3/share/html/Ticket/Display.html:101]
[/opt/rt3/local/html/Ticket/Update.html:190]
[/opt/rt3/share/html/autohandler:146]
(/opt/rt3/lib/RT/Scrip_Overlay.pm:360)


matthew zeier | “Nothing in life is to be feared.
InteleNet Communications, Inc. | It is only to be understood.”
(949) 784-7904 | - Marie Curie


rt-devel mailing list
rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel

http://www.bestpractical.com/rt – Trouble Ticketing. Free.