[Rt-devel] [RTIR] Bulk Abandon - 3.7.13

Wes Young wcyoung at buffalo.edu
Wed Mar 5 12:12:58 EST 2008


Has anyone come across this error when trying to do a BulkAbandon on a  
group of [RTIR] tickets:

System error
error:  	Can't call method "CurrentUser" on an undefined value at /opt/ 
rt3/share/html/RTIR/Elements/UpdateData line 71.
context:  	
...  	
67:  	
68:  	if ( $type eq 'Incident' ) {
69:  	push @parents, $Ticket->id;
70:  	} else {
71:  	my $tickets = RT::Tickets->new( $Ticket->CurrentUser() );
72:  	$tickets->FromSQL( "Queue = 'Incidents' AND HasMember = ".  
$Ticket->id );
73:  	while ( my $parent = $tickets->Next ) {
74:  	push @parents, $parent->id;
75:  	}
...  	
code stack:  	/opt/rt3/share/html/RTIR/Elements/UpdateData:71
/opt/rt3/share/html/RTIR/Incident/Elements/ReplyForm:43
/opt/rt3/share/html/Widgets/TitleBox:51
/opt/rt3/share/html/RTIR/Incident/Elements/ReplyForm:47
/opt/rt3/share/html/RTIR/Incident/BulkAbandon.html:67
/opt/rt3/share/html/autohandler:298


The only syslog errors I have been seeing are:

RT: Use of uninitialized value in pattern match (m//) at /opt/rt3/ 
share/html/Callbacks/RTIR/Elements/SelectOwner/UpdateObjectList line  
13. (/opt/rt3/share/html/Callbacks/RTIR/Elements/SelectOwner/ 
UpdateObjectList:13)

RT: Use of uninitialized value in join or string at /opt/rt3/share/ 
html/RTIR/Incident/Elements/ReplyForm line 39. (/opt/rt3/share/html/ 
RTIR/Incident/Elements/ReplyForm:39)

RT: Use of uninitialized value in string eq at /opt/rt3/share/html/ 
RTIR/Elements/UpdateData line 68. (/opt/rt3/share/html/RTIR/Elements/ 
UpdateData:68)


it seems like $Ticket is not being passed to the UpdateData form, but  
I can't seem to figure out why. I'm currently drilling down through  
the html file into UpdateData, just wanted to throw this out there to  
see if i'm chasing my tail.


--
Wes Young
Network Security Analyst
CIT - University at Buffalo
  -----------------------------------------------
| my OpenID:        | http://tinyurl.com/2zu2d3 |
  -----------------------------------------------








More information about the Rt-devel mailing list