Error in Admin/Global/UserRights.html?

Hi all,

I have RT3.4.4pre2 on my machine and I get this error when I try to
access the UserRights for the ‘root’ user. Can someone tell me why I am
getting this error?

error:

Can’t call method “Name” on an undefined value at
/usr/local/rt/local/html/Admin/Global/UserRights.html line 64,
line 163.

context:

60:

% my $group = RT::Group->new($session{‘CurrentUser’});

61:

% $group->LoadACLEquivalenceGroup($Member->MemberObj);

62:

63:

64:

<% $UserObj->Name %>

65:

66:

67:

<& /Admin/Elements/SelectRights, PrincipalId => $group->PrincipalId,

68:

Object => $RT::System &>

code stack:

/usr/local/rt/local/html/Admin/Global/UserRights.html:64
/usr/local/rt/share/html/Admin/autohandler:47
/usr/local/rt/local/html/autohandler:125

raw error http://webtlh01/Admin/Global/UserRights.html#raw#raw

Thanks

Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 504-7180 phone

(402) 504-5180 fax

Hi all,

I have RT3.4.4pre2 on my machine and I get this error when I try to
access the UserRights for the ‘root’ user. Can someone tell me why I am
getting this error?

Can you replicate this on a vanilla RT 3.4.4 (release version) install
without local changes? (I note that the error below comes from your
local changes)

Jesse

My Principals table didn’t have an entry for a user, since I was
deleting some users from the Principals table.

I had done it when I was still getting used to RT. Learnt that you
shouldn’t be deleting unless the relationships are known.

Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 504-7180 phone
(402) 504-5180 faxFrom: Jesse Vincent [mailto:jesse@bestpractical.com]
Sent: Wednesday, September 21, 2005 12:59 PM
To: Nathan, Ahalya
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Error in Admin/Global/UserRights.html?

Hi all,

I have RT3.4.4pre2 on my machine and I get this error when I try to
access the UserRights for the ‘root’ user. Can someone tell me why I
am
getting this error?

Can you replicate this on a vanilla RT 3.4.4 (release version) install
without local changes? (I note that the error below comes from your
local changes)

Jesse

error:

Can’t call method “Name” on an undefined value at
/usr/local/rt/local/html/Admin/Global/UserRights.html line 64,
line 163.

context:

60:

% my $group = RT::Group->new($session{‘CurrentUser’});

61:

% $group->LoadACLEquivalenceGroup($Member->MemberObj);

62:

63:

64:

<% $UserObj->Name %>

65:

66:

67:

<& /Admin/Elements/SelectRights, PrincipalId => $group->PrincipalId,

68:

Object => $RT::System &>

code stack:

/usr/local/rt/local/html/Admin/Global/UserRights.html:64
/usr/local/rt/share/html/Admin/autohandler:47
/usr/local/rt/local/html/autohandler:125

raw error http://webtlh01/Admin/Global/UserRights.html#raw#raw

Thanks

Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 504-7180 phone

(402) 504-5180 fax


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Buy your copy of our new book, RT Essentials, today!

Download a free sample chapter from http://rtbook.bestpractical.com