NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item11383 for general documentation changes for release 1.1.5. Use Item9693 for docu changes for release 2.0.

Item5126: User name to login name mapping is broken if login name contains spaces

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal New Extension TopicUserMappingContrib  
WikiName to login name mapping is broken if the login name contains a space.

The symptom is:
  • Log in using a login name (e.g. from your corporate directory) for me this is 'steve jones'
  • Authentication is fine, but my WIKIUSERNAME is set to 'steve jones', which is incorrect. It should in fact map to my WikiName which is Main.SteveJones.
  • If I use double brackets to remove spaces and uppercase first letters, then the user mapping is good, e.g.
[[%WIKINAME%]]

will correctly map to !Main.SteveJones.

My install is 4.0.5, but this has been discussed with SvenDowideit at Support.WikiUserNameLoginNameConfusion, and it was suggested that it's still present, and that there is an opportunity to fix this before 4.2.0 is released.

I will set this to urgent, as it blocks basic functionality of TWiki if you are using a login name. I hope this doesn't offend anyone, as I realise this could block the release you're all working towards. Forgive me if this is incorrect or impolite. I don't meant to cause trouble for the 4.2.0 release.

-- TWiki:Main/SteveJonesST - 13 Dec 2007

Redirected AppliesTo to the right place

CC

Per release meeting decision 17 Dec 2007 this is lowered to Normal and deferred till AFTER 4.2.0 as there is too much risk related to fixing it and it is a problem we have lived with since Athens.

-- TWiki:Main.KennethLavrsen - 19 Dec 2007

ItemTemplate edit

Summary User name to login name mapping is broken if login name contains spaces
ReportedBy TWiki:Main.SteveJonesST
Codebase 4.0.5
SVN Range TWiki-4.3.0, Sun, 25 Nov 2007, build 15790
AppliesTo Extension
Component TopicUserMappingContrib
Priority Normal
CurrentState New
WaitingFor
Checkins TWikirev:16018 TWikirev:16019
TargetRelease n/a
ReleasedIn
Topic revision: r7 - 11 Dec 2008 - 16:23:19 - UnknownUser
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads