You are here: Foswiki>Tasks Web>Item1032 (09 Feb 2009, SergeyAfonin)Edit Attach

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

pencil
Priority: Normal
Current State: No Action Required
Released In:
Target Release:
Applies To: Engine
Component:
Branches:
Reported By: SergeyAfonin
Waiting For:
Last Change By: SergeyAfonin
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 distro:b835ea8927dd

-- 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

ItemTemplate edit

Summary Users Logon and localisation of interface can not be used after beta1-auto1563
ReportedBy SergeyAfonin
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
ReleasedIn
Topic revision: r5 - 09 Feb 2009, SergeyAfonin
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy