ZF-11261: Zend_Navigation url generation with routes doesn't take default route into consideration
Zend_Navigation_Page_Mvc method getRoute() doesn't take a default route into consideration.
When URLs are constructed using the URL helper, the second parameter must be a route name or null. When using a route and viewing a page all helper constructed URLs must use 'default' as the route parameter. However, the Zend_Navigation_Page_Mvc component doesn't take this into consideration. Either all pages in the navigation configuration must define the (in xml form) as default or, the getRoute() method must return the following:
return (is_null($this->_route)) ? 'default' : $this->_route;
This takes a null route and turns it into the default route.