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: 15 years 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 engaging 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 someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is 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
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2011-03-07 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.