Obsolete ObjectId/ObjectType API after upgrade from 3.4.4 to 3.4.5

Dear List,

Did the usual:

./configure (with same options as 3.4.4)

make upgrade

Now get:

error: Can’t locate object method “Clone” via package “RT::Users” at
/opt/rt3/lib/RT/Users_Overlay.pm line 436.
context:

432: $RT::Logger->crit( “WhoHaveRight called with the Obsolete
ObjectId/ObjectType API”);
433: return (undef);
434: }
435:
436: my $from_role = $self->Clone;
437: $from_role->WhoHaveRoleRight( %args );
438:
439: my $from_group = $self->Clone;
440: $from_group->WhoHaveGroupRight( %args );

code stack: /opt/rt3/lib/RT/Users_Overlay.pm:436
/opt/rt3/share/html/Elements/SelectOwner:84
/opt/rt3/share/html/Search/Elements/PickBasics:111
/opt/rt3/share/html/Search/Elements/PickCriteria:66
/opt/rt3/share/html/Search/Build.html:84
/opt/rt3/share/html/autohandler:215
raw error

When trying to search or reply or do anything with a ticket.

Any advice?

Thanks.

Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E ghenry@suretecsystems.com

Open Source. Open Solutions™.

http://www.suretecsystems.com/

> Upgrade DBIx::SearchBuilder. I had the same problem last week.

Many thanks.

That did it.

Hi All,

I googled myself silly and couldn’t find an answer to this problem. So,
I thought it can’t be just me? Or maybe it it is!
I recently installed RT and RTFM and set it to use LDAP for
authentication. My problem (if any?!) is that unless users are created
locally and given “Let this user be granted rights”, see only a very
abbreviated SelfServices screen. They can’t even see RTFM! Is that
normal? All they see are: “OpenTickets”, “Closed Tickets”, “New
Tickets”, and “Preferences” when LDAP is used. Changing Group rights
didn’t make a difference!

Any Ideas?

Cheers,
Hossein

Hossein Rafighi wrote:

Hi All,

I googled myself silly and couldn’t find an answer to this problem.
So, I thought it can’t be just me? Or maybe it it is!
I recently installed RT and RTFM and set it to use LDAP for
authentication. My problem (if any?!) is that unless users are created
locally and given “Let this user be granted rights”, see only a very
abbreviated SelfServices screen.

You can search users based on email address and grant them rights if a
select few need greater rights. Someone else may be able to answer if
you can install RTFM into the SelfService Area. It is an idea I have
toyed with but never got around to trying.

They can’t even see RTFM! Is that normal? All they see are:
“OpenTickets”, “Closed Tickets”, “New Tickets”, and “Preferences” when
LDAP is used. Changing Group rights didn’t make a difference!

Any Ideas?

Cheers,
Hossein


The rt-users Archives

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

Download a free sample chapter of RT Essentials from O’Reilly Media at
http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at
http://bestpractical.com/services/training.html

Drew Barnes
Applications Analyst
Raymond Walters College
University of Cincinnati

Gavin Henry wrote:

[snip]

Many thanks.

That did it.

Glad to hear it. Jesse pointed me in the right direction. I probably
should have posted my original problem to rt-users rather than rt-devel.

Greg