[Catalyst] Catalyst::Action::RenderView 0.15

ryan lauterbach brewsterbear at gmail.com
Wed Jan 5 11:12:23 GMT 2011


Hello,

Redirects after login stopped working after this latest upgrade, as if
Root::end() isn't ignoring 3xx status'.  I've downgraded
Catalyst::Action::RenderView from 0.15 to 0.14 and the redirects work
again.  Bad end() code or bug?

My end looks like

sub end : ActionClass('RenderView')
{
    my ($self, $c) = @_;

    # test: skip redirects
    return if $c->res->status == 302;

    my $view;
    if ($c->stash->{printwrapper}) {
        $view = 'App::View::TTPrint';
    }

    <snip> . . . .


Thanks

Ryan



More information about the Catalyst mailing list