Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Error when changing default language of catalog

Found in

EPiServer.Commerce 12.12.1

Fixed in

EPiServer.Commerce 12.14.0

(Or a related package)

Created

Dec 04, 2018

Updated

Dec 10, 2018

State

Closed, Fixed and tested


Description

Steps to reproduce

  1. Go to CommerceManager.
  2. Open any SKU to edit it.
  3. Click OK to save the content.
  4. Go to new Catalog UI.
  5. Change the default language of the Fashion catalog from English to Svenska.

Expected:
Can change default language successfully

Actual:
Something went wrong. One or more errors occurred. Violation of PRIMARY KEY constraint 'PK_ecfVersionAsset'. Cannot insert duplicate key in object 'dbo.ecfVersionAsset'. The duplicate key value is (38, episerver.core.icontentimage, 7501fe5e-4ecc-4271-9ad5-25c4df73380a). The statement has been terminated.