[rt-users] ShowAttachments error in Approvals

Jesse Vincent jesse at bestpractical.com
Fri Oct 15 11:41:03 EDT 2004


Vip,

	What version of RT are you running?

	Best,
	Jesse
On Oct 15, 2004, at 9:43 AM, Vipool Rathod wrote:

> Hello All,
>
> Getting a strange error in Approvals.  When one is created (using the 
> example in the manual) it shows up just fine with Allow, Deny, and 
> Ignore with notes.  However, there is no Submit button.  Also, when I 
> click on the ticket/approval, I get a submit button, but under 
> "Tickets which depend on this approval:" I get the following:
>
> error:   	Can't call method "Next" on an undefined value at 
> /ltp/web/web/rt/share/html/Ticket/Elements/ShowAttachments line 87.
>
> context:
> ...
> 83:
> 84:  	<%INIT>
> 85:  	my %documents;
> 86:
> 87:  	while ( my $attach = $Attachments->Next() ) {
> 88:  	next unless ($attach->Filename());
> 89:  	unshift( @{ $documents{ $attach->Filename } }, $attach );
> 90:  	}
> 91:
> ...
>
> code stack: 
> /ltp/web/web/rt/share/html/Ticket/Elements/ShowAttachments:87
> /ltp/web/web/rt/share/html/Ticket/Elements/ShowSummary:68
> /ltp/web/web/rt/share/html/Approvals/Elements/ShowDependency:47
> /ltp/web/web/rt/share/html/Approvals/Display.html:40
> /ltp/web/web/rt/share/html/autohandler:199
>
> raw error
>
>
> Anyone run into this before or have any suggestions?
>
> Thanks,
> Vip
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT wiki at http://wiki.bestpractical.com
>




More information about the rt-users mailing list