Error displaying ticket

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@cxtec.com

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@cxtec.com


The rt-users Archives

RT Training is coming to town this summer!
Sign up for an RT Developer/Administrator class in DC, LA or Frankfurt
by emailing training@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!

PGP.sig (186 Bytes)

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

We only have two groups, and as the requestor we simply put the user’s real
name. We’ve never had a problem until this point, and for the life of me I
can’t figure out what’s different with these two tickets.

Does the following patch fix it?

Unfortunately, no. Anything else I can try?

I’d be really, really shocked if it gave the same error. Perhaps you
didn’t stop and start apache or clear the cache.

Thanks!

-matt

Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.

I’d be really, really shocked if it gave the same error. Perhaps you
didn’t stop and start apache or clear the cache.

I stopped Apache, did ‘rm -rf /opt/rt3/var/mason_data/obj/local
/opt/rt3/var/mason_data/obj/standard’, copied ShowRequestor to the local
directory, applied the patch:

[root]# diff /opt/rt3/local/html/Ticket/Elements/ShowRequestor
/opt/rt3/share/html/Ticket/Elements/ShowRequestor
26c26
< my $people = $Ticket->Requestors->UserMembersObj;

my $people = $Ticket->Requestors->MembersObj;

then I started Apache, logged in and got the same error.

-matt

Matthew Hanley
mhanley@cxtec.com

For those playing the home game:

Matt’s error had indeed changed. but was still an error. a proper fix
will be in 3.0.11.

JesseOn Mon, Apr 05, 2004 at 11:07:46AM -0400, Matt Hanley wrote:

I’d be really, really shocked if it gave the same error. Perhaps you
didn’t stop and start apache or clear the cache.

I stopped Apache, did ‘rm -rf /opt/rt3/var/mason_data/obj/local
/opt/rt3/var/mason_data/obj/standard’, copied ShowRequestor to the local
directory, applied the patch:

[root]# diff /opt/rt3/local/html/Ticket/Elements/ShowRequestor
/opt/rt3/share/html/Ticket/Elements/ShowRequestor
26c26
< my $people = $Ticket->Requestors->UserMembersObj;

my $people = $Ticket->Requestors->MembersObj;

then I started Apache, logged in and got the same error.

-matt

Matthew Hanley
mhanley@cxtec.com


The rt-users Archives

RT Training is coming to town this summer!
Sign up for an RT Developer/Administrator class in DC, LA or Frankfurt by emailing training@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!

Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.