[dancer-users] Major Dancer 2 release: 0.140000

Cymon cymon.ML at gmail.com
Wed Apr 30 21:23:51 BST 2014


> > I tried Dancer2 0.140000 with a site that was perfectly working with
> > Dancer2 0.13.
> >
> 
> Thanks for trying it out so early.

Well, a bit of luck... I decided to start a new site and I created a
fresh new environment. 
I'm obviously also interested in seeing how latest release of Dancer2
works with my Strehler package :-)

> We haven't touched the session code, but this might be fallout from
> the transition to the new ConfigReader role, which effectively
> decoupled local configurations from global ones. It caches the
> objects (exactly as before - in fact, almost everything is literally
> the same code) so I don't see how this would be a problem.
> 
> Either way, I'd like to get this resolved ASAP.

Probably I found...

In Dancer2::Core::Request cookies are generated from cookie header in
this foreach

foreach my $cookie ( $self->header('COOKIE') ) 

but $self->header('COOKIE') is just a string, not something useful for
iterating...

Adding a split seems to do the trick...

foreach my $cookie ( split " ", $self->header('COOKIE') ) {

> In the future, we will be sure to first release a development version.

No problem, i'll be an early adopter in any case :-P

-- 
Cymon
Coniglio domina,
http://perlishscrewdriver.blogspot.com


More information about the dancer-users mailing list