SID-00922: TWiki 5.x compatability of WebPermissionsPlugin?
| Status: |
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
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.