ZF2-112: invalid generated urls with params and 'index' action

Issue Type: Bug Created: 2011-12-05T21:27:06.000+0000 Last Updated: 2012-05-08T09:34:45.000+0000 Status: Closed Fix version(s): Reporter: david quintard (booradleys) Assignee: Ben Scholzen (dasprid) Tags: - Zend\Mvc\Router

Related issues: Attachments:


Hi there again, I've got another error. My default route is here:

$params['controller'] = 'my-controller'; $params['param1'] = 'value1';

$params['action'] = 'myaction';
$url1 = $this->url()->fromRoute('default/wildcard',$params); // => OK returns /my-controller/myaction/param1/value1

$params['action'] = 'index';
$url2 = $this->url()->fromRoute('default/wildcard',$params); // => KO returns /my-controller/param1/value1 (index action is missing)


Posted by Ben Scholzen (dasprid) on 2012-03-22T11:21:38.000+0000

I think that I resolved this bug earlier, can you please verify if it still exists?

Posted by Ben Scholzen (dasprid) on 2012-04-29T10:22:23.000+0000

No further reaction since over a month, closing the issue, as it was probably solved.

Posted by David Quintard (booradley) on 2012-05-08T09:25:02.000+0000

Yes, this bug is resolved! Thank you.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.