#424: Remove auto-resolving from AgaviController::resolveAction() again
------------------------+---------------------------------------------------
Reporter: david | Owner: david
Type: defect | Status: new
Priority: low | Milestone: 0.11
Component: controller | Version: 0.11.0RC2
Severity: minor | Keywords:
------------------------+---------------------------------------------------
Problem:
{{{
<route name="product" pattern="^/product" module="Default"
action="Products">
<route name="products" pattern=°^s/$" action=".Index" />
<route name=".view" pattern=°^/(id:\d+)/$" action=".View" />
</route>
}}}
wouldn't work properly since {{{/productlala}}} would match the "product"
route, and {{{resolveAction()}}} would auto-resolve "Products" to
"Products.Index".
With the fix, the routing would still not throw a 404 itself (because an
action gets set) but the {{{resolveAction()}}} call wouldn't mess things
up anymore.
--
Ticket URL: <http://trac.agavi.org/ticket/424>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets