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

Item5920: TWikiGroups shows all members twice

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   patch 4.3.0

Edit Form Data

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

Detail

I have just applied the 4.2.2 upgrade, and now every member name in TWiki.TWikiGroups appears twice. The individual member lists for each group are displayed correctly, so the problem appears to be limited to the %GROUPS% variable (VarGROUPS) that is used in TWiki.TWikiGroups

-- TWiki:Main/SeanCMorgan - 12 Aug 2008

can you tell us alot about your config? what mappers, password mgr etc?

-- SvenDowideit - 12 Aug 2008

Apache:

  • AuthType is SSPI (for integrated Windows authentication)
  • Nothing in the Apache error log that corresponds to this event.

I may have a user mapping problem. The breadcrumb on the TWikiUsers pages looks like this:

   TWiki > Main Web > TWikiUsers (2008-07-17, !BaseUserMapping? _333)

Some LocalSite.cfg entries:

   {LoginManager} = 'TWiki::LoginManager::ApacheLogin';
   {UserMappingManager} = 'TWiki::Users::TWikiUserMapping';
   {Register}{EnableNewUserRegistration} = 1;
   {Register}{HidePasswd} = 1;
   {PasswordManager} = 'none';
   {MinPasswordLength} = 1;
   {Htpasswd}{FileName} = '';
   {Htpasswd}{Encoding} = 'crypt';
   {OS} = 'WINDOWS';
   {DetailedOS} = 'MSWin32';

Plugins: ForEachPlugin, ActionTrackerPlugin, ExternalLinkPlugin, StopWikiWordLinkPlugin
Server OS: Windows 2003 SP2
Web server: Apache 2.2.4 (win32-x86-no_ssl)
Perl version: ActivePerl-5.8.8.820 (MSWin32-x86-274739)
Client OS: Windows XP SP2
Web Browser: Internet Explorer 6 SP2

-- TWiki:Main.SeanCMorgan - 13 Aug 2008

oh. Windows :/ In that case, can you also add the Store and Search serrings from the cfg? (and if you're set for Forking, try changing it to PurePerl)

-- SvenDowideit - 14 Aug 2008

Changing {RCS}{SearchAlgorithm} from Forking to PurePerl didn't help.

Here is the cfg file (after eliding some company-specific information): Show Hide

# Local site settings for TWiki. This file is managed by the 'configure'
# CGI script, though you can also make (careful!) manual changes with a
# text editor.
$TWiki::cfg{DefaultUrlHost} = '(...)';
$TWiki::cfg{PermittedRedirectHostUrls} = '(...)';
$TWiki::cfg{ScriptUrlPath} = '/bin';
$TWiki::cfg{PubUrlPath} = '/pub';
$TWiki::cfg{PubDir} = 'D:/Dev/TWiki/pub';
$TWiki::cfg{TemplateDir} = 'D:/Dev/TWiki/templates';
$TWiki::cfg{DataDir} = 'D:/Dev/TWiki/data';
$TWiki::cfg{LocalesDir} = 'D:/Dev/TWiki/locale';
$TWiki::cfg{WorkingDir} = 'D:/Dev/TWiki/working';
$TWiki::cfg{ScriptSuffix} = '';
$TWiki::cfg{Password} = '(...)';
$TWiki::cfg{SafeEnvPath} = 'C:\\windows\\system32';
$TWiki::cfg{UseClientSessions} = 1;
$TWiki::cfg{Sessions}{ExpireAfter} = 21600;
$TWiki::cfg{Sessions}{ExpireCookiesAfter} = 0;
$TWiki::cfg{Sessions}{IDsInURLs} = 0;
$TWiki::cfg{Sessions}{UseIPMatching} = 1;
$TWiki::cfg{Sessions}{MapIP2SID} = 0;
$TWiki::cfg{LoginManager} = 'TWiki::LoginManager::ApacheLogin';
$TWiki::cfg{TemplateLogin}{PreventBrowserRememberingPassword} = 0;
$TWiki::cfg{LoginNameFilterIn} = '^[^\\s\\*?~^@%`"\'&;|<>\\x00-\\x1f]+$';
$TWiki::cfg{DefaultUserLogin} = 'guest';
$TWiki::cfg{DefaultUserWikiName} = 'TWikiGuest';
$TWiki::cfg{AdminUserLogin} = 'admin';
$TWiki::cfg{AdminUserWikiName} = 'TWikiAdminUser';
$TWiki::cfg{SuperAdminGroup} = 'TWikiAdminGroup';
$TWiki::cfg{UsersTopicName} = 'TWikiUsers';
$TWiki::cfg{AuthScripts} = 'attach,edit,manage,rename,save,upload,viewauth,rdiffauth,rest';
$TWiki::cfg{AuthRealm} = 'Enter your TWiki.LoginName. (Typically First name and last name, no space, no dots, capitalized, e.g. !JohnSmith, unless you chose otherwise). Visit TWiki.TWikiRegistration if you do not have one.';
$TWiki::cfg{UserMappingManager} = 'TWiki::Users::TWikiUserMapping';
$TWiki::cfg{Register}{EnableNewUserRegistration} = 1;
$TWiki::cfg{Register}{HidePasswd} = 1;
$TWiki::cfg{PasswordManager} = 'none';
$TWiki::cfg{MinPasswordLength} = 1;
$TWiki::cfg{Htpasswd}{FileName} = '';
$TWiki::cfg{Htpasswd}{Encoding} = 'crypt';
$TWiki::cfg{OS} = 'WINDOWS';
$TWiki::cfg{DetailedOS} = 'MSWin32';
$TWiki::cfg{DenyDotDotInclude} = 1;
$TWiki::cfg{AllowInlineScript} = 1;
$TWiki::cfg{UploadFilter} = '^(\\.htaccess|.*\\.(?i)(?:php[0-9s]?(\\..*)?|[sp]htm[l]?(\\..*)?|pl|py|cgi))$';
$TWiki::cfg{NameFilter} = '[\\s\\*?~^\\$@%`"\'&;|<>\\[\\]\\x00-\\x1f]';
$TWiki::cfg{AccessibleENV} = '^(HTTP_\\w+|REMOTE_\\w+|SERVER_\\w+|REQUEST_\\w+|MOD_PERL)$';
$TWiki::cfg{AntiSpam}{EmailPadding} = '';
$TWiki::cfg{AntiSpam}{HideUserDetails} = 1;
$TWiki::cfg{AntiSpam}{RobotsAreWelcome} = 1;
$TWiki::cfg{Log}{view} = 1;
$TWiki::cfg{Log}{search} = 1;
$TWiki::cfg{Log}{changes} = 1;
$TWiki::cfg{Log}{rdiff} = 1;
$TWiki::cfg{Log}{edit} = 1;
$TWiki::cfg{Log}{save} = 1;
$TWiki::cfg{Log}{upload} = 1;
$TWiki::cfg{Log}{attach} = 1;
$TWiki::cfg{Log}{rename} = 1;
$TWiki::cfg{Log}{register} = 1;
$TWiki::cfg{ConfigurationLogName} = 'D:/Dev/TWiki/data/configurationlog.txt';
$TWiki::cfg{DebugFileName} = 'D:/Dev/TWiki/data/debug.txt';
$TWiki::cfg{WarningFileName} = 'D:/Dev/TWiki/data/warn%DATE%.txt';
$TWiki::cfg{LogFileName} = 'D:/Dev/TWiki/data/log%DATE%.txt';
$TWiki::cfg{Languages}{bg}{Enabled} = 0;
$TWiki::cfg{Languages}{cs}{Enabled} = 0;
$TWiki::cfg{Languages}{da}{Enabled} = 0;
$TWiki::cfg{Languages}{de}{Enabled} = 0;
$TWiki::cfg{Languages}{es}{Enabled} = 0;
$TWiki::cfg{Languages}{fr}{Enabled} = 0;
$TWiki::cfg{Languages}{it}{Enabled} = 0;
$TWiki::cfg{Languages}{ja}{Enabled} = 0;
$TWiki::cfg{Languages}{nl}{Enabled} = 0;
$TWiki::cfg{Languages}{pl}{Enabled} = 0;
$TWiki::cfg{Languages}{pt}{Enabled} = 0;
$TWiki::cfg{Languages}{ru}{Enabled} = 0;
$TWiki::cfg{Languages}{sv}{Enabled} = 0;
$TWiki::cfg{Languages}{'zh-cn'}{Enabled} = 0;
$TWiki::cfg{Languages}{'zh-tw'}{Enabled} = 0;
$TWiki::cfg{DisplayTimeValues} = 'servertime';
$TWiki::cfg{DefaultDateFormat} = '$year-$mo-$day';
$TWiki::cfg{Site}{Locale} = 'en_US.ISO-8859-1';
$TWiki::cfg{Site}{LocaleRegexes} = 1;
$TWiki::cfg{UpperNational} = '';
$TWiki::cfg{LowerNational} = '';
$TWiki::cfg{PluralToSingular} = 1;
$TWiki::cfg{StoreImpl} = 'RcsLite';
$TWiki::cfg{RCS}{ExtOption} = '-x,v';
$TWiki::cfg{RCS}{dirPermission} = 493;
$TWiki::cfg{RCS}{filePermission} = 420;
$TWiki::cfg{Store}{RememberChangesFor} = 2678400;
$TWiki::cfg{RCS}{asciiFileSuffixes} = '\\.(txt|html|xml|pl)$';
$TWiki::cfg{RCS}{initBinaryCmd} = '/usr/bin/rcs  -i -t-none -kb %FILENAME|F%';
$TWiki::cfg{RCS}{initTextCmd} = '/usr/bin/rcs  -i -t-none -ko %FILENAME|F%';
$TWiki::cfg{RCS}{tmpBinaryCmd} = '/usr/bin/rcs  -kb %FILENAME|F%';
$TWiki::cfg{RCS}{ciCmd} = '/usr/bin/ci  -m%COMMENT|U% -t-none -w%USERNAME|S% -u %FILENAME|F%';
$TWiki::cfg{RCS}{ciDateCmd} = '/usr/bin/ci  -m%COMMENT|U% -t-none -d%DATE|D% -u -w%USERNAME|S% %FILENAME|F%';
$TWiki::cfg{RCS}{coCmd} = '/usr/bin/co  -p%REVISION|N% -ko %FILENAME|F%';
$TWiki::cfg{RCS}{histCmd} = '/usr/bin/rlog  -h %FILENAME|F%';
$TWiki::cfg{RCS}{infoCmd} = '/usr/bin/rlog  -r%REVISION|N% %FILENAME|F%';
$TWiki::cfg{RCS}{rlogDateCmd} = '/usr/bin/rlog  -d%DATE|D% %FILENAME|F%';
$TWiki::cfg{RCS}{diffCmd} = '/usr/bin/rcsdiff  -q -w -B -r%REVISION1|N% -r%REVISION2|N% -ko --unified=%CONTEXT|N% %FILENAME|F%';
$TWiki::cfg{RCS}{lockCmd} = '/usr/bin/rcs  -l %FILENAME|F%';
$TWiki::cfg{RCS}{unlockCmd} = '/usr/bin/rcs  -u %FILENAME|F%';
$TWiki::cfg{RCS}{breaklockCmd} = '/usr/bin/rcs  -u -M %FILENAME|F%';
$TWiki::cfg{RCS}{delRevCmd} = '/usr/bin/rcs  -o%REVISION|N% %FILENAME|F%';
$TWiki::cfg{RCS}{SearchAlgorithm} = 'TWiki::Store::SearchAlgorithms::Forking';
$TWiki::cfg{RCS}{QueryAlgorithm} = 'TWiki::Store::QueryAlgorithms::BruteForce';
$TWiki::cfg{RCS}{EgrepCmd} = 'D:/Dev/GnuWin32/bin/grep -E %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%';
$TWiki::cfg{RCS}{FgrepCmd} = 'D:/Dev/GnuWin32/bin/grep -F %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%';
$TWiki::cfg{EnableHierarchicalWebs} = 0;
$TWiki::cfg{SystemWebName} = 'TWiki';
$TWiki::cfg{TrashWebName} = 'Trash';
$TWiki::cfg{UsersWebName} = 'Main';
$TWiki::cfg{EnableEmail} = 1;
$TWiki::cfg{WebMasterEmail} = '(...)';
$TWiki::cfg{WebMasterName} = 'TWiki Administrator';
$TWiki::cfg{MailProgram} = '';
$TWiki::cfg{SMTP}{MAILHOST} = '(...);
$TWiki::cfg{SMTP}{SENDERHOST} = '';
$TWiki::cfg{SMTP}{Username} = '';
$TWiki::cfg{SMTP}{Password} = '';
$TWiki::cfg{RemoveImgInMailnotify} = 1;
$TWiki::cfg{NotifyTopicName} = 'WebNotify';
$TWiki::cfg{SMTP}{Debug} = 0;
$TWiki::cfg{PROXY}{HOST} = '';
$TWiki::cfg{PROXY}{PORT} = '';
$TWiki::cfg{Stats}{TopViews} = 10;
$TWiki::cfg{Stats}{TopContrib} = 10;
$TWiki::cfg{Stats}{TopicName} = 'WebStatistics';
$TWiki::cfg{TemplatePath} = 'D:/Dev/TWiki/templates/$web/$name.$skin.tmpl, D:/Dev/TWiki/templates/$name.$skin.tmpl, D:/Dev/TWiki/templates/$web/$name.tmpl, D:/Dev/TWiki/templates/$name.tmpl, $web.$skinSkin$nameTemplate, TWiki.$skinSkin$nameTemplate, $web.$nameTemplate, TWiki.$nameTemplate';
$TWiki::cfg{LinkProtocolPattern} = '(file|ftp|gopher|https|http|irc|mailto|news|nntp|telnet)';
$TWiki::cfg{SiteWebTopicName} = '';
$TWiki::cfg{SitePrefsTopicName} = 'TWikiPreferences';
$TWiki::cfg{LocalSitePreferences} = 'Main.TWikiPreferences';
$TWiki::cfg{HomeTopicName} = 'WebHome';
$TWiki::cfg{WebPrefsTopicName} = 'WebPreferences';
$TWiki::cfg{NumberOfRevisions} = 4;
$TWiki::cfg{ReplaceIfEditedAgainWithin} = 3600;
$TWiki::cfg{LeaseLength} = 3600;
$TWiki::cfg{LeaseLengthLessForceful} = 3600;
$TWiki::cfg{MimeTypesFileName} = 'D:/Dev/TWiki/data/mime.types';
$TWiki::cfg{Plugins}{CommentPlugin}{Enabled} = 1;
$TWiki::cfg{Plugins}{EditTablePlugin}{Enabled} = 1;
$TWiki::cfg{Plugins}{InterwikiPlugin}{Enabled} = 1;
$TWiki::cfg{Plugins}{PreferencesPlugin}{Enabled} = 1;
$TWiki::cfg{Plugins}{SlideShowPlugin}{Enabled} = 1;
$TWiki::cfg{Plugins}{SmiliesPlugin}{Enabled} = 1;
$TWiki::cfg{Plugins}{SpreadSheetPlugin}{Enabled} = 1;
$TWiki::cfg{Plugins}{TablePlugin}{Enabled} = 1;
$TWiki::cfg{Plugins}{TinyMCEPlugin}{Enabled} = 1;
$TWiki::cfg{Plugins}{TwistyPlugin}{Enabled} = 1;
$TWiki::cfg{Plugins}{WysiwygPlugin}{Enabled} = 1;
$TWiki::cfg{PluginsOrder} = 'ForEachPlugin,SpreadSheetPlugin,CommentPlugin';
$TWiki::cfg{ExtensionsRepositories} = 'TWiki.org=(http://twiki.org/cgi-bin/view/Plugins/,http://twiki.org/p/pub/Plugins/)';
$TWiki::cfg{Extensions}{GenPDFAddOn}{htmldocCmd} = 'D:/Common/HTMLDoc/htmldoc.exe';
$TWiki::cfg{MailerContrib}{EmailFilterIn} = '';
$TWiki::cfg{Register}{AllowLoginName} = 1;
$TWiki::cfg{INCLUDE}{AllowURLs} = 1;
$TWiki::cfg{Site}{CharSet} = 'iso-8859-1';
$TWiki::cfg{Plugins}{ActionTrackerPlugin}{Enabled} = 1;
$TWiki::cfg{Plugins}{ChecklistPlugin}{Enabled} = 1;
$TWiki::cfg{Plugins}{EasyTimelinePlugin}{Enabled} = 1;
$TWiki::cfg{Plugins}{ExternalLinkPlugin}{Enabled} = 1;
$TWiki::cfg{Plugins}{ForEachPlugin}{Enabled} = 1;
$TWiki::cfg{Plugins}{StopWikiWordLinkPlugin}{Enabled} = 1;
$TWiki::cfg{Plugins}{TreeBrowserPlugin}{Enabled} = 1;
$TWiki::cfg{Plugins}{TreePlugin}{Enabled} = 1;
1;

-- TWiki:Main.SeanCMorgan - 18 Aug 2008

mmm, lost track of this - why's it not marked urgent?

-- SvenDowideit - 03 Oct 2008

It's not urgrent because access control is working. Also, I'm the only who has this problem?

-- TWiki:Main.SeanCMorgan - 04 Oct 2008

I just upgraded to 4.2.3 from 4.2.0 and I am having this issue

-- TWiki:Main.JacobChamplin - 14 Oct 2008

Sorry I should also say: SuSE 10.1 (perl 5.6.1) and SuSE 11.0 (perl 5.10.0) Apache 2.2.4

-- TWiki:Main.JacobChamplin - 14 Oct 2008

Also using ApacheLogin, which is probably the common thread

-- TWiki:Main.JacobChamplin - 14 Oct 2008

Hi,

Not able to recreate this issue - is it "urgent" issue?

-- TWiki:Main.SopanShewale - 24 Nov 2008

Re-prioritized from urgent to normal at TWiki:Codev/GeorgetownReleaseMeeting2008x11x24

-- TWiki:Main.PeterThoeny - 25 Nov 2008

Didn't want to Double Post but I already did http://twiki.org/cgi-bin/view/Support/TWikiGroupsOutOfSync

I have only some users listed twice by the %GROUPS% variable.

-- TWiki:Main.BurtWelsh - 20 Dec 2008

Hi Burt, I have a patch here. Does it help for you?

-- TWiki:Main.RobertGerlach - 19 Jan 2009

Added patch provided by RobertGerlach in the release branch... i did not add that trunk, trunk has more code changes... so taking time to review it.

-- TWiki:Main.SopanShewale - 20 Feb 2009

In my opinion, the patch is wrong, because now it never converts the login name into a cUID. The previous code was right, because it called login2cUID() first and then findUserByWikiName() if the first call was unsuccessful

-- TWiki:Main.SamuelKerschbaumer - 24 Jul 2009

http://trac.foswiki.org/changeset/2376

-- TWiki:Main.WillNorris - 03 Apr 2010

ItemTemplate
Summary TWikiGroups shows all members twice
ReportedBy TWiki:Main.SeanCMorgan
Codebase 4.2.2
SVN Range TWiki-5.0.0, Mon, 11 Aug 2008, build 17408
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:17831
TargetRelease patch
ReleasedIn 4.3.0
Edit | Attach | Watch | Print version | History: r19 < r18 < r17 < r16 < r15 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r19 - 2010-04-03 - WillNorris
 
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