Product with the ‘*’ url_key attribute already exists

Hi all,

During upgrade Magento Enterprise from 1.12 to 1.14.0.1 I got this problem when edit and save product in backend, so I can not edit an exist product.

Product with the '*' url_key attribute already exists.

Product with the ‘*’ url_key attribute already exists.

It is working fine when you create new product or duplicate the exist one. After spend some hour to research, I found some helpful information here but it doesnt work for me. So I looking in log and trying to fix myself.

And finaly I got it fixed by this change:

Open this file /app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php

Go to line 727 you will see like this (before change):

2014-08-09_1724

Add this line $product->setUrlKey(false); it will avoid url_rewrite checker before Save product.

$product->setUrlKey(false);

$product->setUrlKey(false);

I hope this help someone to solved your same problem.

>>> Our Products: Magento Multi Vendor Theme – Magento Multi Vendor Extensions

 

Leave A Comment?

You must be logged in to post a comment.