ZF-12512: Request's getControllerName() method returns translated controller name instead of the real one

Issue Type: Bug Created: 2013-01-23T08:58:18.000+0000 Last Updated: 2013-01-25T08:52:12.000+0000 Status: Closed Fix version(s): Reporter: Basar Aykut (bsrykt) Assignee: Frank Brückner (frosch) Tags: - Zend_Controller

Related issues: Attachments:


When translator is set on a Zend_Controller_Router_Route, Zend_Controller_Request_Abstract getControllerName() method returns the translated controller name.


<pre class="highlight"> 

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


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.

Have you found an issue?

See the Overview section for more details.


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

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