You are here: Foswiki>Tasks Web>Item5334 (01 Aug 2008, ThomasWeigert)Edit Attach

Item5334: Undefined subroutine TWiki::Contrib::EditContrib::Include41::isTrue

pencil
Priority: Normal
Current State: Being Worked On
Released In:
Target Release: n/a
Applies To: Extension
Component: EditContrib
Branches:
Reported By: TWiki:Main.VickiBrown
Waiting For: TWiki:Main.ThomasWeigert
Last Change By: ThomasWeigert
We have a "locked web". ALLOWEBVIEW is set to a particular group.

I want to make the WebHome page viewable by everyone. That page has a notice that says "This is a private web'.

I tried setting DENYTOPICVIEW to empty as described in TWiki.TWikiAccessControl. However, when I do that, if I attempt to access the page before loggin in, I see
TWiki detected an internal error - please check your TWiki logs and webserver logs for more information. 
Undefined subroutine &TWiki::Contrib::EditContrib::Include41::isTrue called

We are running TWiki version TWiki-4.1.2, Sat, 03 Mar 2007, build 13046, Plugin API version 1.11

-- TWiki:Main/VickiBrown - 06 Feb 2008

I've changed the item's subject so that the symptoms are more obvious. I am pretty sure that it has nothing to do with the empty value for DENYTOPICVIEW. In both Include40.pm (three times) and Include41.pm (one time) there are calls to isTrue which should most probably be replaced by calls to TWiki::isTrue. I don't understand EditContrib and never used it, so probably someone with a reasonable setup how to test the fix should have a look. Setting to waiting for feedback for Thomas Weigert, who made the update for his collective bug item Item2870, in revision 12396.

P.S. I just noticed that the issue has already been discussed in TWiki:Plugins.EditContribDev, in August 2007 frown, sad smile

-- TWiki:Main.HaraldJoerg - 07 Feb 2008

Note Harald also replied to my Support question

-- TWiki:Main.VickiBrown - 11 Feb 2008

I have fixed this, and will upload a corrected version when I get back to the States. So sorry for the delay...

-- ThomasWeigert - 01 Aug 2008

ItemTemplate edit

Summary Undefined subroutine TWiki::Contrib::EditContrib::Include41::isTrue
ReportedBy TWiki:Main.VickiBrown
Codebase
SVN Range TWiki-5.0.0, Wed, 23 Jan 2008, build 16283
AppliesTo Extension
Component EditContrib
Priority Normal
CurrentState Being Worked On
WaitingFor TWiki:Main.ThomasWeigert
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r4 - 01 Aug 2008, ThomasWeigert
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy