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

Item5523: LdapContrib "normalizeWikiName" configuration parameter doesn't work

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension LdapContrib Normal Closed MichaelDaum n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Hello,

There seems to be something wrong with LdapContrib "normalizeWikiName" configuration parameter. Even when I have a config

[root@twiki lib]# cat LocalSite.cfg | grep Normalize
$TWiki::cfg{Ldap}{NormalizeWikiNames} = 0;
$TWiki::cfg{Ldap}{NormalizeLoginName} = 0;
$TWiki::cfg{Ldap}{NormalizeGroupName} = 0;

the Wikinames are still normalized and the umlaut characters are converted to "ue" and similar characters.

Only when I override the parameter manually in the LdapContrib.pm code with the line:

 $this->{normalizeWikiName} = 0 unless defined $this->{normalizeWikiName};

the WikiNames are not normalized and the name is displayed correctly.

Another way around this is to change the name of the configuration parameter to

$TWiki::cfg{Ldap}{NormalizeWikiName} = 0;

instead of NormalizeWikiNames

-- TWiki:Main.AivoJurgenson - 11 Apr 2008

Workaround to change the configuration parameter name to NormalizeWikiName doesn't survive the webbased configuration cycle. It seems that the configure script finds out that the NormalizeWikiNames parameter is missing from LocalSite.cfg and then adds the default value.

-- TWiki:Main.AivoJurgenson - 14 May 2008

ItemTemplate
Summary LdapContrib "normalizeWikiName" configuration parameter doesn't work
ReportedBy TWiki:Main.AivoJurgenson
Codebase 4.2.0
SVN Range TWiki-5.0.0, Thu, 03 Apr 2008, build 16612
AppliesTo Extension
Component LdapContrib
Priority Normal
CurrentState Closed
WaitingFor MichaelDaum
Checkins TWikirev:16839
TargetRelease n/a
ReleasedIn

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