Views: 1200
Number of votes: 5
Average rating:

Duplicate language versions after import

When I work with EPiSerser Commerce's import catalog I have an issue after import catalog successfully like:

Image issue1.JPG

After 3 hours investigate I found down that is by:

Default catalog language is: en-gb but the available languages are: en-GB. That because of this EPiSErver function VerifyLanguageSetup also call Distinct but without CurrentCultureIgnoreCase.

Apr 12, 2018

Dang Viet Hung
( By Dang Viet Hung, 4/12/2018 5:24:59 AM)

Awesome, this article help my team and save our time a lot. Thanks Ha Bui.

However, could you show me how we can fix this?

Ha Bui
( By Ha Bui, 4/12/2018 5:26:54 AM)

Hi @Hung,

The easiest way to fix this is set your catalog default language with lowercase:

CatalogsCatalog.defaultLanguage = "en-gb";

Hope that help!

Ha Bui

Quan Pham
( By Quan Pham, 4/12/2018 5:27:36 AM)

Hello, A good point! I am also looking for the fix. Please advice.

Dang Viet Hung
( By Dang Viet Hung, 4/12/2018 5:28:30 AM)

Great! Thank for quick answer :)

Quan Mai
( By Quan Mai, 4/12/2018 11:00:02 AM)

I'll file a bug for this. Thanks for letting us know

Ha Bui
( By Ha Bui, 4/23/2018 9:53:22 AM)

Great help! Thank @Quan

Quan Mai
( By Quan Mai, 5/8/2018 3:59:51 PM)

The said bug (COM-6908) has been fixed and will be released in Commerce 12.2 

Please login to comment.