I am facing issue adding product in wishlist (magento version 1.9.2.4).
Here is scenario,
Step 1 :- Make sure customer not logged in.
Step 2 :- Go to product list page and click "Add to wishlist"
Step 3 :- it will redirected to login page.
Step 4 :- Now you can check product not added in wishlist.
I have traced patch files and found issue
SUPEE-9767-1.9.2.4\app\code\core\Mage\Customer\Model\Session.php
public function setCustomerAsLoggedIn($customer)
{
$this->setCustomer($customer);
$this->renewSession();
// if we comment following line its working fine
//Mage::getSingleton('core/session')->renewFormKey();
Mage::dispatchEvent('customer_login', array('customer'=>$customer));
return $this;
}
But its not correct solution for it.
Please give better solution than above code.
Thanks,