[rt-users] RT::User::crit Unimplemented in RT::User (persistent problem encountered in RT3)
Lieven Tomme
lieven.tomme at aquanta.com
Wed Jun 25 01:08:55 EDT 2003
Hi again,
The referenced line 296 from /opt/rt3/lib/RT/User_Overlay.pm is contained within the following snippet:
270 delete $args{'Disabled'};
271
272 $self->SUPER::Create(id => $principal_id , %args);
273 my $id = $self->Id;
274
275 #If the create failed.
276 unless ($id) {
277 $RT::Logger->error("Could not create a new user - " .join('-'. %args));
278
279 return ( 0, $self->loc('Could not create user') );
280 }
281
282
283 #TODO post 2.0
284 #if ($args{'SendWelcomeMessage'}) {
285 # #TODO: Check if the email exists and looks valid
286 # #TODO: Send the user a "welcome message"
287 #}
288
289
290
291 my $aclstash = RT::Group->new($self->CurrentUser);
292 my $stash_id = $aclstash->_CreateACLEquivalenceGroup($principal);
293
294 unless ($stash_id) {
295 $RT::Handle->Rollback();
296 $self->crit("Couldn't stash the user in groumembers");
297 return ( 0, $self->loc('Could not create user') );
298 }
299
300 $RT::Handle->Commit;
301
302 #$RT::Logger->debug("Adding the user as a member of everyone");
303 my $everyone = RT::Group->new($self->CurrentUser);
304 $everyone->LoadSystemInternalGroup('Everyone');
305 $everyone->AddMember($self->PrincipalId);
Regards,
Lieven
-----Oorspronkelijk bericht-----
Van: Jesse Vincent [mailto:jesse at bestpractical.com]
Verzonden: di 24/06/2003 23:49
Aan: Lieven Tomme
CC: rt-users at lists.fsck.com
Onderwerp: Re: [rt-users] RT::User::crit Unimplemented in RT::User (persistent problem encountered in RT3)
On Tue, Jun 24, 2003 at 11:29:26PM +0200, Lieven Tomme wrote:
> Euh... for the binary resulting from compiling the 1.3.27 tarball, performing a '/usr/local/apache/bin/apachectl stop', followed by verifying that no more httpd processes are running, and a doing a '/usr/local/apache/bin/apachectl start' should do the job, IMHO.
> This is exactly what I did, not knowing what's left to do right now...
> Thanks for commenting in advance.
>
> Lieven
Can you tell us what the line that's referenced reads in your copy of
lib/RT/User_Overlay.pm ?
>
> -----Oorspronkelijk bericht-----
> Van: Jesse Vincent [mailto:jesse at bestpractical.com]
> Verzonden: di 24/06/2003 17:09
> Aan: Lieven Tomme
> CC: rt-users at lists.fsck.com
> Onderwerp: Re: [rt-users] RT::User::crit Unimplemented in RT::User (persistent problem encountered in RT3)
>
>
>
>
>
> On Tue, Jun 24, 2003 at 05:06:36PM +0200, Lieven Tomme wrote:
> > Hi all, Hi Jesse,
> >
> > Since the problem below had already been fixed in the repository, I
> > expected it to be solved by installing RT-3-0-3.
> > However, I still cannot add a single user. I'm faced with the following
> > error upon trying to add a new user :
> >
> > error: RT::User::crit Unimplemented in RT::User.
> > (/opt/rt3/lib/RT/User_Overlay.pm line 296)
> >
>
> Sounds like you haven't stopped and started apache properly.
>
>
> --
> http://www.bestpractical.com/rt -- Trouble Ticketing. Free.
>
>
--
http://www.bestpractical.com/rt -- Trouble Ticketing. Free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20030625/1bd98137/attachment.htm>
More information about the rt-users
mailing list