Description
I have seen this same issue but no real solution to the problem. I have an existing category that when I try to edit the category it displays "URL key for specified store already exists". However, this url key is only being used in the store once. There are no children categories with the same name either. I also checked catalog_category_entity_varchar
and url_rewrite
just to make sure this url key only exists once and it only exists for the same category that I am trying to edit.
I also tried changing the url key in catalog_category_entity_varchar
to something wild that would never be used in our store and removed the url_key
all together in url_rewrite
and the same thing happened while trying to save. Seems more like a core coding bug than a database problem based on that experiment.
Preconditions
- Magento 2.1.1
- Imported data via the data migration tool
Has anyone figured out why this is happening?