Bug: Small Typos in Plugins.pm
While investigating an odd problem I was having with a plugin, I noticed a couple of small typos in Plugins.pm. The only one that really makes a difference is the one that lists the
$onceOnlyHandlers
definition:
%onlyOnceHandlers = ( 'registrationHandler' => 1,
'writeHeaderHandler' => 1,
'redirectCgiQueryHandler' => 1,
'getSessionValueHandler' => 1,
'getSessionValueHandler' => 1 );
Notice that
getSessionValueHandler
is defined twice. The second one should be
setSessionValueHandler
.
Otherwise, there is a comment in
setSessionValueHandler
which uses a . instead of a ::.
I've included the rcsdiff below. This is based off of the standard Plugins.pm that comes with the February 2003 release of TWiki.
Test case
Plugins.pm
===================================================================
RCS file: Plugins.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -r1.1 -r1.2
55c55
< 'getSessionValueHandler' => 1 );
---
> 'setSessionValueHandler' => 1 );
394c394
< # Called by TWiki.setSessionValue
---
> # Called by TWiki::setSessionValue
Environment
TWiki version: |
Februrary 2003 |
TWiki plugins: |
Those that use setSessionValueHandler |
Server OS: |
Linux |
Web server: |
Apache |
Perl version: |
5.6.0 |
Client OS: |
Windows 2000 |
Web Browser: |
MSIE6.0 |
--
TedPavlic - 17 Jul 2003
Follow up
Fix record
Now fixed and in
TWikiAlphaRelease.
--
PeterThoeny - 26 Jul 2003
Category:
TWikiPatches