Re: [Catalyst] Possible bug here?

2009-06-01 Thread Gordon Yeong
http://linux.wareseeker.com/Programming/template-plugin-page-0.10.zip/328911 ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive:

Re: [Catalyst] Possible bug here?

2009-06-01 Thread Tomas Doran
Kieren Diment wrote: On Mon, Jun 1, 2009 at 9:25 AM, J. Shirley jshir...@gmail.com wrote: Easy for a failing test case, at least ;) Yeah, it appears to be a backwards compat bug. The following does work. This either needs to be documented or fixed. Not a back compat bug, it's been there

[Catalyst] Possible bug here?

2009-05-31 Thread Kieren Diment
Here's the code: package TestApp::Controller::Root; use strict; use warnings; use parent 'Catalyst::Controller'; __PACKAGE__-config-{namespace} = ''; sub index :Path :Args(0) { my ( $self, $c ) = @_; # Hello World $c-response-body( $c-welcome_message ); } sub anaction :Path :

Re: [Catalyst] Possible bug here?

2009-05-31 Thread Matthias Dietrich
Kieren, Here's the code: [...] And here's the output from script/testapp_test /foo: Page not found Either this is a bug or there's something very obvious wrong which I'm missing ... what would you expect? As you don't have an action foo, the default action is called (which is a

Re: [Catalyst] Possible bug here?

2009-05-31 Thread Kieren Diment
On 01/06/2009, at 1:17 AM, Matthias Dietrich wrote: Kieren, Here's the code: [...] And here's the output from script/testapp_test /foo: Page not found Either this is a bug or there's something very obvious wrong which I'm missing ... what would you expect? As you don't have an

Re: [Catalyst] Possible bug here?

2009-05-31 Thread J. Shirley
On Sun, May 31, 2009 at 2:34 PM, Kieren Diment dim...@gmail.com wrote: On 01/06/2009, at 1:17 AM, Matthias Dietrich wrote: Kieren, Here's the code: [...] And here's the output from script/testapp_test /foo: Page not found Either this is a bug or there's something very obvious

Re: [Catalyst] Possible bug here?

2009-05-31 Thread Kieren Diment
On Mon, Jun 1, 2009 at 9:25 AM, J. Shirley jshir...@gmail.com wrote: Weird... I don't think you are missing anything obvious. You can trim this down and get the same results (just to remove index from the mix): package MyApp::Controller::Root; use parent 'Catalyst::Controller';