Issue Type: Bug Created: 2011-04-02T23:56:48.000+0000 Last Updated: 2011-04-03T06:51:03.000+0000 Status: Resolved Fix version(s): Reporter: Anthony Shireman (ashireman) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_View
Related issues: - ZF-6486
Attachments: - application.zip
Declaring a Route in a Bootstrap.php allows accessing a module/controller/action using a short name 'myroute'. However, when viewing the page http://localhost/project/index.php/myroute/ all urls on the page which use the url helper, except those which are also defined in a route, are replaced with the 'myroute' URL. Viewing the page normally, ie through http://localhost/project/module/controller/action/ all the links will work normally.
Posted by Anthony Shireman (ashireman) on 2011-04-02T23:58:45.000+0000
Create a new project. Add the Zend Framework library. Replace the /application folder with the contents of the zip file. The only files changed from the default are Bootstrap.php and the view script for the index controller, index action
Posted by Anthony Shireman (ashireman) on 2011-04-03T01:24:54.000+0000
Duplicate of http://framework.zend.com/issues/browse/ZF-6486
The current behavior is not clear in the documentation. If you use any routes in your application all calls to the url helper must be changed to the following: $this->view->url(array('module' => 'account', 'controller' => 'index', 'action' => 'login'), 'default', false);
from this: $this->view->url(array('module' => 'account', 'controller' => 'index', 'action' => 'login'), null, false);
as the expectation changes from null being the defined default route to the explicit 'default'.
Posted by Anthony Shireman (ashireman) on 2011-04-03T01:25:25.000+0000
Duplicate / Not an issue
Posted by Benoît Durand (intiilapa) on 2011-04-03T06:39:46.000+0000
No fix version for a duplicate issue not resolved
Have you found an issue?
See the Overview section for more details.