You are here: Foswiki>Tasks Web>Item5126 (09 Nov 2020, MichaelDaum)Edit Attach

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

Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: TopicUserMappingContrib
Reported By: TWiki:Main.SteveJonesST
Waiting For:
Last Change By: MichaelDaum
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.

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


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

Closing due to inactivity.

-- MichaelDaum - 09 Nov 2020

ItemTemplate edit

Summary User name to login name mapping is broken if login name contains spaces
ReportedBy TWiki:Main.SteveJonesST
SVN Range TWiki-4.3.0, Sun, 25 Nov 2007, build 15790
AppliesTo Extension
Component TopicUserMappingContrib
Priority Normal
CurrentState No Action Required
TargetRelease n/a
ReleasedIn n/a
Topic revision: r9 - 09 Nov 2020, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy