On Thu, Feb 03, 2011 at 09:15:03AM -0800, Seth Daniel wrote: > Hi, > > I believe I've discovered a bug in Catalyst::Controller. I triggered it > while using Catalyst::Controller::ActionRole so my examples below will > refer to that module.
[...snip...] > I can probably provide a program that demonstrates this, but I've found > that writing a 'simple' Catalyst application requires a lot of setup. :o/ http://doubleplusgood.org/ccbug.tar I whittled down the Catalyst::Controller::ActionRole tests to as few files as I could. Unpack the tar file and cd to the 't' dir. Run 'prove execution-via-config.t'. It should fail with the bug I reported. You can get the test to pass if you change t/lib/TestApp/Controller/ExecutionViaConfig.pm to apply the '+Moo' role like so: __PACKAGE__->config( action => { three => { Does => '+Moo' } } ); -- seth /\ sethdaniel.org _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
