Tags:
create new tag
, view all tags

SID-00922: TWiki 5.x compatability of WebPermissionsPlugin?

Status: Answered Answered TWiki version: 5.0.0 Perl version: 5.010001
Category: WebPermissionsPlugin Server OS: ubuntu lucid lynx Last update: 11 month ago

Hello, when i click the Plugin in the InstalledPlugins Page, i get an internal Server error, Serverlog tells:

[Mon Aug 02 14:47:59 2010] [error] [client xxxx] Can't call method "param" on an undefined value at /var/www/newise/twiki/lib/TWiki/Plugins/WebPermissionsPlugin/Core.pm line 43., referer: https://xxxxxxxxxxxxx/twiki/bin/view/TWiki/InstalledPlugins

-- UliSchellhaas - 2010-08-02

Discussion and Answer

We tested over 100 plugins for TWiki-5.0 compatibility. We have not yet tested the WebPermissionsPlugin.

Your help in testing is greatly appreciated, many more plugins need to be tested. If plugin use unofficial function or method calls they might break on TWiki upgrade. You can support the community by providing a patch to fix an issue if there is one.

-- PeterThoeny - 2010-08-02

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider a subscription for support or engage one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2010-09-13

Had the same issue as the original poster. Seems that there is a problem at the lib/TWiki/Plugins/WebPermissionsPlugin/Core.pm line 42

my $query = $session->{cgiQuery};

As of 5.0.1 it should be:

 my $query = $session->{request};

The plugin page now shows without an error.

-- SzymonSobczyk - 2011-03-06

Thank you Szymon for providing a proposed fix and for filing TWikibug:Item6655. I updated the plugin as follows to make it compatible with TWiki-5.0 as well as earlier releases:

my $query = $session->{request}; || $session->{cgiQuery};

-- PeterThoeny - 2011-03-07

Change status to:

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
SupportForm
Status Answered
Title TWiki 5.x compatability of WebPermissionsPlugin?
SupportCategory WebPermissionsPlugin
TWiki version 5.0.0
Server OS ubuntu lucid lynx
Web server Apache 2.2.14
Perl version 5.010001
Topic revision: r5 - 2011-03-07 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.