• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Calling command line:

./manage -action deleteUserAccount -user luser -password secret

results in

Can't locate object method "remove" via package "TWiki::User" 
(perhaps you forgot to load "TWiki::User"?) at lib/TWiki/UI/Manage.pm line 119.

That is in _removeUser() and calls

$user->remove();

I can't find any method in UI/User.pm that looks like it does the job this expects. What happened to it?

--

http://koala.ilog.fr/twikiirc/bin/irclogger_log/twiki?date=2006-04-08,Sat&sel=20#l16

In short, Sven ran out of time when implementing it. frown

-- [MC]


If I could then point out something that needs to be addressed when Sven gets to it... I get a notwikiuser exception on a valid user because I have PasswordManager set to none (require user directives in .htaccess force intranet login and the users have been BulkRegistered) and therefore no .htpasswd file. The code in question is

    # check if user entry exists
    if( $user && !$user->passwordExists()) {
        throw TWiki::OopsException( 'attention',
                                    web => $webName,
                                    topic => $topic,
                                    def => 'notwikiuser',
                                    params => $user->stringify() );

in UI/Manage.pm. Probably need to use a different method from passwordExists.

I am not sure I agree with the rating of this as an enhancement given that an advertised capability fails with a code exception.

ItemTemplate
Summary UI::Manage::_removeUser broken
ReportedBy TWiki:Main.PeterScott
Codebase

SVN Range 4.0.2
AppliesTo Engine
Component

Priority Enhancement
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-04-08 - PeterScott
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback