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

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

Hi Basar, thanks for your feedback. I will close the issue.