Wednesday, August 7, 2013

Integrity constraint violation: 1062 Duplicate entry '4974-134' for key 'UNQ_CATALOG_PRODUCT_SUPER_ATTRIBUTE_PRODUCT_ID_ATTRIBUTE_ID'

Integrity constraint violation: 1062 Duplicate entry '4974-134' for key
'UNQ_CATALOG_PRODUCT_SUPER_ATTRIBUTE_PRODUCT_ID_ATTRIBUTE_ID'

I am getting the above error in Magento when adding a configurable product
(before creating simple products)
This has worked but for some reason it is now failing.
The key value 4974-134 doesn't even exist in the table:
I've tried re-creating the table. I''ve cleare cache/log tables/re-indexed
and nothing seems to work - each time the 4974 (product/entity_id)
increments by 1 implying it is being created in the catalog_product_entity
table but it isn't:

No comments:

Post a Comment