• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

The latest (4.10) version of CGI::Session breaks Client.pm when called from, e.g., bin/view, with the fatal error:

Can't use string ("CGI::Session") as a HASH ref...

This is called from lib/TWiki/Client.pm line 88, which does:

CGI::Session->name( 'TWIKISID' );

CGI::Session is broken and I have filed http://rt.cpan.org/Ticket/Display.html?id=18455 for it. Workaround is to change line 88 to:

$CGI::Session::NAME = 'TWIKISID'

Yuch; thus violating the encapsulation of CGI::Session.

I'd rather they fixed CGI::Session; or we had a switch on the CGI::Session version number.


Upgrade CGI::Session to 4.03, see TWiki:Support.CGISessionComplaints

-- PTh

It's 4.10 that's broken, according to the above report.


We need a work around for this.

Only very skilled people dare down grading a Perl module. Just finding an old RPM or deb that will not give version conflict is difficult.

We'd better have a work around put into 4.0.3.

See here. http://koala.ilog.fr/twikiirc/bin/irclogger_log/twiki?date=2006-04-03,Mon&sel=925#l921

It will haunt us again and again.


A new version of CGI::Session, 4.11, has been released that looks like it fixes this, even though the RT report has not been updated.


Summary Latest CGI::Session is broken
ReportedBy TWiki:Main.PeterScott

SVN Range Mon, 27 Mar 2006 build 9563
AppliesTo Engine

Priority Urgent
CurrentState Closed

Checkins 11161 11163 9661 9665
TargetRelease patch
Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r11 - 2006-04-27 - WillNorris
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback