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

Item4726: Can't locate object method "isAdmin" via package "username"

Item Form Data

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

Edit Form Data

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

Detail

-- TWiki:Main/LarsEik - 25 Sep 2007

I cannot get WorkflowPlugin to work on TWiki 4.2 beta. Have tried up to nigthly build 15048 (though the file says 15054..hm).

From apache errorlog:

view: Can't locate object method "isAdmin" via package "username" (perhaps you forgot to load "username"?) at /srv/www/twiki/lib/TWiki/Plugins/WorkflowPlugin.pm line 445

I attached a small patch for TWiki 4.2 (cf. TWiki:Plugins.WorkflowPluginDev)

-- TWiki:Main.MarkusUeberall - 26 Jan 2008

Does the patch also work with 4.1.X?

Otherwise it may be a good idea to make the code conditional based on plugin API revision.

-- TWiki:Main.KennethLavrsen - 27 Jan 2008

Fixed and upload. Fix by Markus Markus Ueberall

KJL

Fix fixed (typo)

-- TWiki:Main.KennethLavrsen - 28 Jan 2008

Could not upload using build script. Turns out that t.o rejects the convert.pl because of the extension. Renamed the file to convert.pl.txt.

-- TWiki:Main.KennethLavrsen - 28 Jan 2008

ItemTemplate
Summary Can't locate object method "isAdmin" via package "username"
ReportedBy TWiki:Main.LarsEik
Codebase 4.2.0
SVN Range TWiki-4.3.0, Sat, 22 Sep 2007, build 14996
AppliesTo Extension
Component WorkflowPlugin
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:16297 TWikirev:16298 TWikirev:16299 TWikirev:16300 TWikirev:16304 TWikirev:16305
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r13 < r12 < r11 < r10 < r9 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r13 - 2008-01-28 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback