[Catalyst] DateTime in session- breaks during login/logout

Bill Moseley moseley at hank.org
Wed Jun 13 18:57:49 GMT 2007


On Wed, Jun 13, 2007 at 05:48:56PM +0200, Adam Bartosik wrote:
> I put DateTime object into session like this:
> 
> use DateTime;
> $c->session->{dateo} = DateTime->now;
> 
> Everything works ok, object is properly stored/retrevied until you login 
> or logout.
> 
> After logout ($c->logout) I get:
> 
> undef error - Invalid locale name or id: , at 
> /usr/lib/perl5/Cache/FastMmap.pm line 551

I just got caught by this.  IIRC, upgrade DateTime::Locale.

-- 
Bill Moseley
moseley at hank.org




More information about the Catalyst mailing list