Symptom
When attempting to add a new locale, the following error may appear:
- Error: ElmsCreateException: SQLException - addI18nActiveLocale(vo) failed
- Caused by: com.sap.db.jdbc.exceptions.SQLIntegrityConstraintViolationExceptionSapDB: [301]: unique constraint violated: Table(PA_I18N_ACTIVE_LOCALE), Index(UK_I18N_ACTIVE_LOCALE_DISPLAY_LOCALE_ID)
Environment
SAP SuccessFactors Learning
Reproducing the Issue
- Go to Locales > Modify any existing locale and change the Display Locale ID to "Chinese"
- In Locales still > Add New > Choose Simplified Chinese. Simplified Chinese Display Locale ID is "Chinese"
- Error is presented
Cause
There is an existing locale with a Display Locale ID already in the system with the same Display Locale ID that is attempting to be added.
Resolution
- Go to References > Manage Labels > Locales
- Search and edit all locales
- Change the Display Locale ID to the Internal Locale ID
- Locales > Add New > add the new locale
Keywords
add, new, locale, error, db, PA_I18N_ACTIVE_LOCALE, display, locale, id , KBA , LOD-SF-LMS-ADM , System Admin, Global Variables, References , Problem
Product
SAP SuccessFactors Learning all versions