Back out r11057 which breaks one of the chained tests, whilst not fixing the bug...
Tomas Doran [Wed, 19 Aug 2009 20:21:44 +0000 (20:21 +0000)]
lib/Catalyst/DispatchType/Chained.pm
t/custom_exception_class_simple.t

index 9df62c8..3654a11 100644 (file)
@@ -235,9 +235,7 @@ sub recurse_match {
                     local $c->req->{arguments} = [ @{$c->req->args}, @parts ];
                     next TRY_ACTION unless $action->match($c);
                 }
-
-                # Default args is blank, not 0, since Args()
-                my $args_attr = $action->attributes->{Args}->[0] || '';
+                my $args_attr = $action->attributes->{Args}->[0];
 
                 #    No best action currently
                 # OR This one matches with fewer parts left than the current best action,
index e358043..e87ed80 100644 (file)
@@ -7,9 +7,12 @@ use lib "$Bin/lib";
 use Test::More tests => 1;
 use Test::Exception;
 
+TODO: {
+    local $TODO = 'Does not work yet';
+
 lives_ok {
     require TestAppClassExceptionSimpleTest;
 } 'Can load application';
 
-1;
+}