SAP Knowledge Base Article - Preview

3778134 - ERROR: CMS Impex Import Fails with 'languagemodel with isocode 'en-us' not found' due to CMS Item Modification History logic introduced after upgrade to 2211-jdk21.14

Symptom

After upgrading to 2211-jdk21.14,

  • CMS Impex imports fail or content catalog synchronization (cms2) fails during processing in de.hybris.platform.cms2.servicelayer.interceptor.impl.CMSItemModificationHistoryPrepareInterceptor.
  • Error examples: 
    LanguageModel with isocode 'en-US' not found
    LanguageModel with isocode 'en-JA' not found
    LanguageModel with isocode 'en-ZH' not found
    LanguageModel with isocode 'en-KR' not found
    LanguageModel with isocode 'en-GB' not found
  • Languages exist and are active in the system as 
    en_US
    en_GB
    en_JA
    en_ZH
    en_KR
  • Stack traces consistently point to CMSItemModificationHistoryPrepareInterceptor.
  • Content Catalog Synchronization fails after import of CMS content with localized attributes.
  • This issue also happen when updating an CMS component via backoffice,  exception thrown and failed to save component.
  • Error message: 
    LanguageModel with isocode 'sv-SE' not found!
    Thrown by CMSItemModificationHistoryPrepareInterceptor → DefaultCMSItemModificationHistoryService.convertLocalizedMapToPersistenceLayer().


Read more...

Environment

SAP Commerce Cloud 2211-jdk21.14 to 2211-jdk21.16 

Product

SAP Commerce Cloud 2211 for JDK21

Keywords

languagemodel with isocode not found, en-US vs en_US, bcp-47, locale.tolanguagetag, cms impex import failure, cmsitemmodificationhistoryprepareinterceptor, defaultcmsitemmodificationhistoryservice, language lookup mismatch, underscore hyphen, localized attributes, cms synchronization, unknownidentifierexception, i18n , KBA , CEC-SCC-PLA-PL , Platform , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.