Skip Menu |

This queue is for tickets about the Catalyst-Runtime CPAN distribution.

Report information
The Basics
Id: 59601
Status: new
Priority: 0/
Queue: Catalyst-Runtime

People
Owner: Nobody in particular
Requestors: nour.sharabash [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 5.80024
Fixed in: (no value)



Subject: go() and detach() methods don't work without last array ref
$c->go($c->controller('Foo::Bar')->action_for('bar'), ['capture'], []) will not work if called without the last argument, the empty array ref e.g., this: $c->go($c->controller('Foo::Bar')->action_for('bar'), ['capture']) will not work with a setup like this: package App::Controller::Foo; sub base :Chained('/') :PathPart('foo') :CaptureArgs(1) {} # capture /foo/* sub foo :Chained('base') :PathPart('') :Args(0) {} # end of chain package App::Controller::Foo::Bar; sub base :Chained('/foo/base') :PathPart('bar') :CaptureArgs(1) {} # capture /foo/*/bar/* sub bar :Chained('base') :PathPart('') :Args(0) {} # end of chain