on 2020 Nov 10 1:22 PM
The customer has provided us with a list of VariantValueCategory categories, in the file there is a VariantValueCategory with the same code as a VariantCategory during the initialize I get this error
ambiguous unique keys ... for model VariantValueCategoryModel (<unsaved>) - found 1 item(s) using the same keys
If i try to create the VariantValueCategory with the same name from the back office I still get a duplication error
"commonElementCount": 113,
"localizedMessage": "[de.hybris.platform.servicelayer.interceptor.impl.UniqueAttributesInterceptor@c480129]:ambiguous unique keys ... for model VariantValueCategoryModel (<unsaved>) - found 1 item(s) using the same keys",
In your opinion, is it correct that a VariantCategory and a VariantValueCategory cannot have the same code?
Regards,
Crescenzo
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
VariantCategory and VariantValueCategory are subtypes of Category. So, you cannot have the same codes (not name) for Category, VariantCategory, or VariantValueCategory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.