This queue is for tickets about the Catalyst-ActionRole-RequireSSL CPAN distribution.

Report information
The Basics
Id:
55804
Status:
resolved
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
cpan [...] prather.org
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: Chains not bailing out early enough.
I have a Controller chain like the following: sub base : Chained (/) PathPart('base') Does('RequireSSL') { die 'Base!' } sub payment : Chained('base') Args(0) { die 'Payment' } and I was expecting it to die with "Base", which it does *after* the first request. The first request always dies with "Payment" (or in my application with an obscure error because something populated in base wasn't populated). After some discussion on #catalyst on irc.perl.org I think it may need a $c->detach after the redirect in the RequireSSL check. I'm happy to try to come up with some failing tests and/or a patch for this if you can point me at the current repository.
Sorry about the delay for some reason RT isn't sending me emails when i get bugs..
Show quoted text
> I'm happy to try to come up with some failing tests and/or a patch for > this if you can point me at the current repository.
Please see : http://github.com/purge/Catalyst-ActionRole-RequireSSL


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.