[Catalyst] Forwarding to chained Path fails

Bernhard Graf catalyst at augensalat.de
Mon Oct 16 09:50:13 CEST 2006


I'm trying Cat's chained paths and I like it quite much.

One thing I recognized is that you can't forward to a chained path.

Take the Hello-World example in Catalyst::DispatchType::Chained.
When I add

  sub index : Private {
    my ( $self, $c ) = @_;
    $c->forward('/hello/47/world/11');
  }

then for http://my.host/greeting I get
Couldn't forward to command "/hello/47/world/11": Invalid action or component.

Is this a bug or is there a reason why this cannot work?
-- 
Bernhard Graf



More information about the Catalyst mailing list