SAP Knowledge Base Article - Public

2865989 - Application error when adding new time/date pattern to a locale

Symptom

An application error message is received when trying to add a new time/date format to a locale.

Environment

SAP SuccessFactors Learning

Reproducing the Issue

  1. Learning Administration > References > Manage Labels > Locales >
  2. Select the desired locale > Edit >
  3. Go to the "Date Patterns" or the "Time Patterns" tab >
  4. Try to change the current default value by adding a new pattern or picking one of the patterns already listed >
  5. The system will throw an application error message: 
  • An application error has occurred. Please try again.

Cause

The issue is caused because the date pattern and time pattern related to the locale ID have the last updated user as null in the database.

Resolution

  1. Go to References > Manage Labels > Locales >
  2. Search for the desired locale >
  3. Click the edit button >
  4. Go to the "Time Patterns" tab >
  5. Click "Apply Changes" without modifying anything >
  6. Go to the "Date Patterns" tab >
  7. Click "Apply Changes" without modifying anything.

After following the above-mentioned steps, try to add a new date pattern or time pattern to the desired locale. There should not be any issue while adding the same.

Keywords

error, add, adding, default, locale, unsunsetDefaultActiveLocaleDateFormatPatternForCurrentPatternType, application, time, date, pattern , KBA , LOD-SF-LMS-ADM , System Admin, Global Variables, References , LOD-SF-LMS , Learning Management System , Problem

Product

SAP SuccessFactors Learning all versions