Users Logon and localisation of interface can not be used after beta1-auto1563.

The problem is in this changing:
--- good/lib/Foswiki/LoginManager.pm<-->2008-12-24 05:38:30 +0400
+++ bad_first/lib/Foswiki/LoginManager.pm<----->2008-12-24 17:38:28 +0400
@@ -86,7 +86,7 @@
.
         my $use = 'use Foswiki::LoginManager::Session';
         if ( $Foswiki::cfg{Sessions}{UseIPMatching} ) {
-            $use .= ' qw(-ip-match)';
+            $use .= ' qw(-ip_match)';
         }
         $use .= '; use CGI::Cookie';
         eval $use;
Replacing ip_match at ip-match solves the problem.

-- SergeyAfonin - 09 Feb 2009

Sorry not to have spotted this before, but in fact, your bug is a duplicate of Item567 which was fixed in Foswikirev:1569

-- OlivierRaginel - 09 Feb 2009

I believe what Sergey is trying to say is that I broke the code when I fixed Item567

I think the real issue is that Sergey has a broken version of CGI::Session.

When I did my investigation I found that the bug was in a beta release of CGI::Session which unfortunately had been packaged by Dag Wiers in an RPM.

What Sergey needs to do is upgrade his CGI::Session.

Reverting my change means that no versions of CGI:Session work - except this one beta version. And that would be totally wrong. So the conclusion "No action.." is correct.

-- KennethLavrsen - 09 Feb 2009

You're right Kenneth, my bad. In fact, it seems the latest version of perl-CGI-Session (the 4.40-alt5 version for AltLinux? it seems) is the 4.40 version of CGI::Session, which should work.

Sergey, can you try upgrading this module, or at least report which version of the module you're using:
rpm -ql perl-CGI-Session

-- OlivierRaginel - 09 Feb 2009

perl-CGI-Session-3.95-alt2

I will try to update the package now.

-- SergeyAfonin - 09 Feb 2009

Update to CGI-Session 4.40 solves the problem also.

-- SergeyAfonin - 09 Feb 2009

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads