Subject: | Catalyst-Plugin-SubRequest 0.18 breaks MojoMojo's t/formatter_include.t |
Hi,
the recent "major refactoring" in Catalyst-Plugin-SubRequest 0.18 causes breakage in MojoMojo's
t/formatter_include.t, which instead of being given a minimal page as would be created by
MojoMojo::Controller::Page->inline(), receives a complete page as created by calling
MojoMojo::Controller::Page->view() directly. The relevant call in MojoMojo::Formatter::Include is:
return $c->subreq( '/inline', { path => $rel.'' eq './' ? '/' : '/'.$rel } );
For full test output see for example http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680796 or (among
a number of other issues) http://www.cpantesters.org/cpan/report/84a482d2-c2a9-11e1-b3ca-c21d08f5d1fc
I have confirmed that downgrading Catalyst-Plugin-SubRequest from 0.18 to 0.17 fixes MojoMojo's build
test failure, so I'm filing this bug here. I cannot claim to grok the MojoMojo/Catalyst stack, though,
so please advise if this belongs elsewhere.
Florian