On Sat, Dec 21, 2013 at 11:54 AM, Mads Lie Jensen <[email protected]> wrote: > I have this in a module: > > 'console' => array('router' => array('routes' => array( > 'PDDO-build-dataobjects' => array( > 'options' => array( > 'route' => 'PDDO build', > 'defaults' => array( > 'controller' => 'PearDbDataObject\Controller\Console', > 'action' => 'build', > ), > ), > ), > ))), > > ... > > to give me a console route to this controller/action. > > I also have the Assetic-bundle module installed, which has a similar route > installed, which is called 'assetic build'. > The assetic setup is included first in my merged config. > > The problem is, whenever I now call > > php public/index.php assetic build > > it is my PDDO build action that is run. > > It looks like the 'build'-part of the route is triggering the wrong route. > > It looks like a bug ... but is it?
It may be, but it may also be a precedence thing. Can you reduce your console routes down to the minimum that displays the issue, and then submit it in an issue report, please? -- Matthew Weier O'Phinney Project Lead | [email protected] Zend Framework | http://framework.zend.com/ PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
