Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

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:  1770
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;
    
}
 
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:  1770
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?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top