• 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.

I am sure I filed this yesterday but I don't see it anywhere today.

TWiki::Func::userToWikiName contains the lines:

    my $user = $TWiki::Plugins::SESSION->{users}->findUser( $login );
    return '' unless $user;

But findUser() will create a user by default and so $user could never be false. Shouldn't this be

    my $user = $TWiki::Plugins::SESSION->{users}->findUser( $login, undef, 'DONTCREATE' );
    return '' unless $user;

? Same issue with TWiki::Func::wikiToUserName.


Good point. Regrading to Requirement to make it block the 4.0.3 release.

CC

ItemTemplate
Summary userToWikiName broken
ReportedBy TWiki:Main.PeterScott
Codebase 4.0.2, ~twiki4, ~develop
SVN Range Sat, 06 May 2006 build 10108
AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

Checkins 10202 10203
TargetRelease patch
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2006-05-14 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback