Jonathan --

Can you please create an issue report, and assign it to me? When doing
so, please provide either a unit test displaying the behavior, or a
short example detailing the issue, and clearly describe your
expectations. Hopefully from that, I can determine what change was made
and why, and we can then move forward from there.

-- Jonathan Maron <[email protected]> wrote
(on Monday, 11 July 2011, 09:38 AM +0200):
> I am currently testing the latest version of ZF (1.11.8).
> 
> The fix, which was been applied to Zend_Navigation_Page_Mvc::isActive
> is breaking my multi-lingual route. My basic route is as follows:
> 
> <default>
>     <route>:locale/:module/:controller/:action/*</route>
>     <defaults>
>         <locale />
>         <module>default</module>
>         <controller>index</controller>
>         <action>index</action>
>     </defaults>
>     <reqs>
>         <locale>.*</locale>
>         <module>.*</module>
>         <controller>.*</controller>
>         <action>.*</action>
>     </reqs>
> </default>
> 
> The problem is that isActive() does not return true, when a
> Zend_Navigation_Page_Mvc is active. In ZF 1.11.7 and earlier, this
> works as expected.
> 
> In the View, I can therefore not access $this->activeNavigation(), as
> it returns null.
> 
> Removing the :locale part of the route resolves the issue. However,
> the URLs must have the locale in them.
> 
> The issue can be resolved by subclassing Zend_Navigation_Page_Mvc, and
> coping isActive() from the ZF 1.11.7 version. However, I would like to
> understand what is going wrong.
> 
> Is anyone else experiencing this issue?

-- 
Matthew Weier O'Phinney
Project Lead            | [email protected]
Zend Framework          | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to