Symptom
As of 1H 2023 release, when the HCM locale and the Learning Administration locale aren't the same, actions where the calendar picker is being used (such as class creation, searches, etc.) are causing an error:
Validation Error
Please correct the following errors before proceeding:
The value entered for the criterion is invalid: d/MMM/yyyy
Environment
- SAP SuccessFactors Learning
- SAP SuccessFactors HCM Suite
Reproducing the Issue
- Log into HCM > set the locale to X >
- Navigate to Learning Administration >
- Under Preferences, change the admin's locale to Y >
- Perform a search selecting a date (for example, at Learning Activities > Classes) > open the calendar picker to choose a date > select the date >
- Depending on the month being selected, upon "Search" the error is displayed.
Cause
Due to the change in the calendar widget being standardized across the application, this issue will be seen if locales differ.
Resolution
The calendar widget showing the validation error is due to the mismatch of locales/languages and is deemed as expected behavior of the system.
To resolve the issue:
- Change the language in HCM or for the Learning Admin to match each other.
Keywords
sf, sfsf, lms, learning, administration, admin, locale, language, Validation Error, The value entered for the criterion is invalid, calendar picker, dates, widget, month, date, error, , KBA , LOD-SF-LMS-ADM , System Admin, Global Variables, References , LOD-SF-LMS-LAN , Language Packs & Translation , Problem