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

Item5369: Can't locate object method "isInList" via package "username"

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension WorkflowPlugin Urgent Closed   patch  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


It turns out that my previous patch committed by Kenneth for TWiki 4.2 only solved the access problem for administrators (doh!); I attached a second patch called WorkflowPlugin_v420_patch2.txt.

-- TWiki:Main/MarkusUeberall - 15 Feb 2008

I'm afraid this is not a good solution; it replaces one internal function call with another.

As I understand it, the goal is to determine if the current user occurs in a list of wikinames and/or group names. The logical solution is to (1) use TWiki::Func::getWikiUserName on each name in the list and test if the logged-in user matches verbatim and (2) test using TWiki::Func::isGroupMember against those in the list that are groups. No need to use unpublished functions at all.

-- TWiki:Main.CrawfordCurrie - 22 Apr 2008

Fixed it.


Summary Can't locate object method "isInList" via package "username"
ReportedBy TWiki:Main.MarkusUeberall
Codebase 4.2.0
SVN Range TWiki-5.0.0, Wed, 23 Jan 2008, build 16283
AppliesTo Extension
Component WorkflowPlugin
Priority Urgent
CurrentState Closed

Checkins TWikirev:16724
TargetRelease patch

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