Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime-Locale CPAN distribution.

Report information
The Basics
Id: 24337
Status: rejected
Priority: 0/
Queue: DateTime-Locale

People
Owner: Nobody in particular
Requestors: morten.bjornsvik [...] experian-scorex.no
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: DateTime::Local v0.3x does not work with Apache::Session::Serialize::Storable v1
Date: Fri, 12 Jan 2007 12:13:06 +0100
To: <bug-DateTime-Locale [...] rt.cpan.org>
From: Morten Bjørnsvik <morten.bjornsvik [...] experian-scorex.no>
Hi We got some serious login problems on our new server, it turned out that DateTime::Locale fresh from cpan v0.33 didn't work with our Apache Sessions. It returned undef and thus generated a new one each time, resulting in invalid session-cookie. Downgrading to v0.21 worked. It was what we had on our old server. Sorry I haven't tested more thoroughly. [ERROR:2357] 2007/01/05 10:12:49 /opt/s3/etc/session_handler_mp2.pl:119 - got error Parameter #1 (undef) to DateTime::Locale::load was an 'undef', which is not one of the allowed types: scalar at /usr/lib/perl5/site_perl/5.8.5/DateTime/Locale.pm line 199 DateTime::Locale::load('undef', 'undef') called at /usr/lib/perl5/site_perl/5.8.5/DateTime/Locale/Base.pm line 135 DateTime::Locale::Base::STORABLE_attach('DateTime::Locale::en', 0, 'undef') called at blib/lib/Storable.pm (autosplit into blib/lib/auto/Storable/thaw.al) line 366 eval {...} called at blib/lib/Storable.pm (autosplit into blib/lib/auto/Storable/thaw.al) line 366 Storable::thaw('\x{5}\x{7}\x{3}\x{0}\x{0}\x{0}\x{2}\x{a} c3a87422f7bc01f68dd26222af28f0ba\x{0}\x{0}\x{0}\x{b}_session_id\x{4}\x{11}\x{6}S3...') called at /usr/lib/perl5/site_perl/5.8.5/Apache/Session/Serialize/Storable.pm line 27 Apache::Session::Serialize::Storable::unserialize('Apache::Session::File=HASH(0xb521828)') called at /usr/lib/perl5/site_perl/5.8.5/Apache/Session.pm line 497 Apache::Session::restore('Apache::Session::File=HASH(0xb521828)') called at /usr/lib/perl5/site_perl/5.8.5/Apache/Session.pm line 407 Apache::Session::TIEHASH('Apache::Session::File', 'c3a87422f7bc01f68dd26222af28f0ba') called at /opt/s3/etc/session_handler_mp2.pl line 109 eval {...} called at /opt/s3/etc/session_handler_mp2.pl line 108 SECANA::SCPHandler::handler('Apache2::RequestRec=SCALAR(0xb5216fc)') called at -e line 0 eval {...} called at -e line 0, at /usr/lib/perl5/site_perl/5.8.5/Apache/Session/Serialize/Storable.pm line 27 tying session ... turned out DateTime::Locale 0.3x doesn't work with Storable.. .. and the workaround is to install DateTime::Locale 0.21 -- Morten Bjørnsvik morten.bjornsvik(at)experian-scorex.no Experian-Scorex AS, PB 121, 0102 Oslo, Norway
Subject: RE: [rt.cpan.org #24337] AutoReply: DateTime::Local v0.3x does not work with Apache::Session::Serialize::Storable v1
Date: Fri, 12 Jan 2007 12:43:28 +0100
To: <bug-DateTime-Locale [...] rt.cpan.org>
From: Morten Bjørnsvik <morten.bjornsvik [...] experian-scorex.no>
Just tested with the latest v0.33 and it is the same. Turned out it was v0.32 we tested originally. Thanks -- MortenB
Subject: Re: [rt.cpan.org #24337] DateTime::Local v0.3x does not work with Apache::Session::Serialize::Storable v1
Date: Fri, 12 Jan 2007 10:55:20 -0600 (CST)
To: Morten Bjørnsvik via RT <bug-DateTime-Locale [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Fri, 12 Jan 2007, Morten Bjørnsvik via RT wrote: Show quoted text
> ... turned out DateTime::Locale 0.3x doesn't work with Storable.. > .. and the workaround is to install DateTime::Locale 0.21
Actually, the real problem is that DateTime::Locale 0.3x cannot thaw 0.2x objects serialized via Storable. I'll look into fixing this.