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

Item4411: TWiki::Func::isGuest() always returns false

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine Func Urgent Closed   n/a  

Edit Form Data

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

Detail

Enable the attached plugin, and place %GUEST% in a topic. It will always return "Not a guest!".

-- TWiki:Main/AndrewRJones - 25 Jul 2007

Added unit test, and confirmed. A glance at the code in TWiki::Func clearly shows the problem.

CC

Could really do with Sven checking what I did. CC

ItemTemplate
Summary TWiki::Func::isGuest() always returns false
ReportedBy TWiki:Main.AndrewRJones
Codebase ~twiki4
SVN Range TWiki-4.1.2, Thu, 19 Jul 2007, build 14438
AppliesTo Engine
Component Func
Priority Urgent
CurrentState Closed
WaitingFor

Checkins TWikirev:14484 TWikirev:14505
TargetRelease n/a
ReleasedIn

Topic attachments
I Attachment History Action Size Date Who Comment
Perl source code filepm TWikiGuestPlugin.pm r1 manage 25.7 K 2007-07-25 - 14:24 UnknownUser Plugin that proves isGuest always returns false
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-08-05 - TWikiUserMapping_CrawfordCurrie
 
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