Call-back icon  Enterprise Sales: +1.310.775.2674 (N. America)   +44 20.3286.4137 (UK)

Magento

eCommerce Software for Online Growth

Magento Forum

   
bug: forgotpassword back button
 
seldon
Sr. Member
 
Total Posts:  92
Joined:  2007-11-08
 

The back-to-login button in the forgot-password step, points again to the forgot-password-page.

 
Magento Community Magento Community
Magento Community
Magento Community
 
seldon
Sr. Member
 
Total Posts:  92
Joined:  2007-11-08
 

Ok, i think the bug causing this, is in Mage_Core_Model_Url, on line 660, it says:

if (!is_null($routePath)) {
            $this
->setRoutePath($routePath);
        
}

Removing the ! fixes the problem. Let me know if this change is correct?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1771
Joined:  2007-08-07
Los Angeles
 

@seldon: try this:

public function getRouteUrl($routePath=null$routeParams=null)
    
{
        $this
->unsetData('route_params');

        if (!
is_null($routePath)) {
            $this
->setRoutePath($routePath);
        
}
        
if (is_array($routeParams)) {
            $this
->setRouteParams($routeParamsfalse);
        
}

        $url 
$this->getBaseUrl().$this->getRoutePath();
        return 
$url;
    
}

 Signature 

- I would love to change the world, but they won’t give me the source code -

 
Magento Community Magento Community
Magento Community
Magento Community
 
seldon
Sr. Member
 
Total Posts:  92
Joined:  2007-11-08
 

Well my change caused the admin to malfunction, so is not right. I dont see however what you changed? It still doesnt work.

 
Magento Community Magento Community
Magento Community
Magento Community
 
seldon
Sr. Member
 
Total Posts:  92
Joined:  2007-11-08
 

Any idea, Moshe ? smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1771
Joined:  2007-08-07
Los Angeles
 

There was a minor update to this file, i thought maybe this will help you. For me it works just fine.

Could you paste the URL you get for “Back to Login” link?

 Signature 

- I would love to change the world, but they won’t give me the source code -

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
© Copyright 2009 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
108788 users|278 users currently online|199914 forum posts