[rt-users] Error displaying ticket

Jesse Vincent jesse at bestpractical.com
Mon Apr 5 10:15:41 EDT 2004


Looks like you've added a group as a requestor.

Does the following patch fix it?

===================================================================
--- html/Ticket/Elements/ShowRequestor  (revision 669)
+++ html/Ticket/Elements/ShowRequestor  (working copy)
@@ -23,7 +23,7 @@
  %# END LICENSE BLOCK
  <%PERL>
  my $rows = 10;
-my $people = $Ticket->Requestors->MembersObj;
+my $people = $Ticket->Requestors->UserMembersObj;
  while (my $member=$people->Next) {
  my $requestor = $member->MemberObj->Object;
  my $name=$requestor->RealName || $requestor->EmailAddress;



On Apr 5, 2004, at 10:08 AM, Matt Hanley wrote:

> Using RT 3.0.9, Perl 5.8.0 and have had no problem until now.  Trying 
> to
> display a ticket I get this error message:
>
> error:   	RT::Group::RealName Unimplemented in HTML::Mason::Commands.
> (/opt/rt3/share/html/Ticket/Elements/ShowRequestor line 29)
> context:  	
> ...  	
> 453:  	else {
> 454:  	my ($package, $filename, $line);
> 455:  	($package, $filename, $line) = caller;
> 456:  	
> 457:  	die "$AUTOLOAD Unimplemented in $package. ($filename line $line)
> \n";
> 458:  	}
> 459:  	
> 460:  	}
> 461:  	
> ...  	
> code stack:
> /usr/lib/perl5/site_perl/5.8.0/DBIx/SearchBuilder/Record.pm:457
> g /opt/rt3/share/html/Ticket/Elements/ShowRequestor:29
> g /opt/rt3/share/html/Ticket/Elements/ShowSummary:70
> g /opt/rt3/share/html/Ticket/Display.html:33
> g /opt/rt3/share/html/autohandler:195
> g
>
> Any ideas?
>
> -matt
>
> Matthew Hanley
> mhanley at cxtec.com
> _______________________________________________
> http://lists.bestpractical.com/mailman/listinfo/rt-users
>
> RT Training is coming to town this summer!
> Sign up for an RT Developer/Administrator class in DC, LA or Frankfurt 
> by emailing training at bestpractical.com
>
> For more details, check out 
> http://www.bestpractical.com/services/training.html
>
> The RT Wiki lives at http://wiki.bestpractical.com Read! Join! 
> Contribute!
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20040405/572b4cda/attachment.sig>


More information about the rt-users mailing list