Hello Matthew

Try as I may, I cannot log into the issue tracker at:

http://framework.zend.com/issues/login.jsp

I have tried resetting my password at:

http://framework.zend.com/crowd/console/forgottenlogindetails!default.action

but still cannot log in (I did receive the confirm "Reset Password" email).

I have tried using FF and Chromium.

Is there a problem with Issue Tracker ATM?

I have attached the issue I wanted to post into the issue tracker.

TIA

Jonathan

On Mon, Jul 11, 2011 at 3:15 PM, Matthew Weier O'Phinney
<[email protected]> wrote:
> 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]
>
>
>


--------------------------------------------------------------------------------

Pls see below for routes.xml and navigation.xml.

When I go to:

    http://www.example.com/en_US/default/index/index/

I would expect:

    <?php echo $this->activeNavigation()->get('title'); ?>
    <?php echo $this->activeNavigation()->get('label'); ?>

in the View to output:

    Home
    Home

as it does in ZF 1.11.7 and earlier.

In ZF 1.11.8, 

    <?php Zend_Debug::dump($this->activeNavigation()); ?>

returns 

    NULL

and it should return:

    object(Zend_Navigation_Page_Mvc)#54 (24) { [...] }



--------------------------------------------------------------------------------

routes.xml:

<?xml version="1.0" encoding="UTF-8"?>

<config>

    <routes>

        <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>

    </routes>

</config>

--------------------------------------------------------------------------------

navigation.xml:

<?xml version="1.0" encoding="UTF-8"?>

<config>
    <root>
        <type>S2d_Navigation_Page_Mvc</type>
        <route>default</route>
        <module>default</module>
        <controller>index</controller>
        <action>index</action>
        <label>Home</label>
        <title>Home</title>
    </root>
</config>

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

Reply via email to