ZF-12512: Request's getControllerName() method returns translated controller name instead of the real one
Description
When translator is set on a Zend_Controller_Router_Route, Zend_Controller_Request_Abstract getControllerName() method returns the translated controller name.
e.g:
Zend_Controller_Router_Route::setDefaultTranslator($translator);
public function preDispatch(\Zend_Controller_Request_Abstract $request)
{
$request->getControllerName() // Returns translated controller name
}
Before 1.12.1 getControllerName() method was returning the real controller name
Comments
Posted by Basar Aykut (bsrykt) on 2013-01-23T09:55:16.000+0000
I close this issue now as it's not a real issue but a side effect of my updates.
I was using a patch to translate default routes (ZF-7298) and it got lost in svn to git migration
Posted by Frank Brückner (frosch) on 2013-01-25T08:51:54.000+0000
Hi Basar, thanks for your feedback. I will close the issue.