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

Item6086: TSA DENYTOPICVIEW causes crash (trunk only)

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Urgent Closed TWiki:Main.GilmarSantosJr n/a  

Edit Form Data

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


Can't locate object method "request_uri" via package "TWiki::Request" at /home/wikiring/home.org.au/core/lib/TWiki/LoginManager/ApacheLogin.pm line 91.
    TWiki::LoginManager::ApacheLogin::forceAuthentication('TWiki::LoginManager::ApacheLogin=HASH(0x8758940)') called at /home/wikiring/home.org.au/core/lib/TWiki/UI.pm line 182
    TWiki::UI::__ANON__('TWiki::AccessControlException=HASH(0x8b0dfd0)', 'SCALAR(0x8268b20)') called at /usr/share/perl5/Error.pm line 339
    eval {...} called at /usr/share/perl5/Error.pm line 329
    Error::subs::run_clauses('HASH(0x8a8e74c)', 'TWiki::AccessControlException=HASH(0x8b0dfd0)', 'undef', 'ARRAY(0x826c40c)') called at /usr/share/perl5/Error.pm line 426
    Error::subs::try('CODE(0x8185e0c)', 'HASH(0x8a8e74c)') called at /home/wikiring/home.org.au/core/lib/TWiki/UI.pm line 246
    TWiki::UI::execute('TWiki::Request=HASH(0x81ea990)', 'CODE(0x8507a80)', 'view', 1) called at /home/wikiring/home.org.au/core/lib/TWiki/UI.pm line 125
    TWiki::UI::handleRequest('TWiki::Request=HASH(0x81ea990)') called at /home/wikiring/home.org.au/core/lib/TWiki/Engine/CGI.pm line 49
    TWiki::Engine::CGI::run('TWiki::Engine::CGI=HASH(0x83def94)') called at view line 42.

when I added DENYTOPICVIEW=TWikiGuest
its supposed to give an oops screen saying no permission to view... 

-- TWiki:Main/SvenDowideit - 21 Oct 2008

This is a CGI compatibility issue in TWiki::Request. There is no request_uri method and REQUEST_URI is not CGI-Standard. I'll solve this by adding this method and make it verify if the environment variable exist. If yes, return its value and if not construct what Apache would put on it.

I'll commit as soon as I get the time to code and test this wink

-- TWiki:Main.GilmarSantosJr - 21 Oct 2008

Corrected code in <nope>ApacheLogin module.

-- TWiki:Main.SopanShewale - 16 Apr 2010

Closing for 5.0.0 release.

-- TWiki:Main.PeterThoeny - 29 May 2010

Summary TSA DENYTOPICVIEW causes crash (trunk only)
ReportedBy TWiki:Main.SvenDowideit
Codebase ~twiki4
SVN Range TWiki-5.0.0, Sun, 05 Oct 2008, build 17588
AppliesTo Engine

Priority Urgent
CurrentState Closed
WaitingFor TWiki:Main.GilmarSantosJr
Checkins TWikirev:18457
TargetRelease n/a

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2010-05-29 - PeterThoeny
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