You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
keyDTO.getTranslations().get(languageId) Problem is the languageId is the UUID of the language, while instead the translations map holds the locale (de, en, etc) as key.
The result is for the check to always return true and proceed to update every single entry of LEX_DATA, even for a single lexicon change.
The text was updated successfully, but these errors were encountered:
On LexiconConfigService method:
private void updateKeys(List<Map<String, Object>> translations, String groupId, String languageId) {
There is a bug on the following check:
else if (keyDTO.getTranslations().get(languageId) == null || ((String)keyDTO.getTranslations().get(languageId)).equals(translationKey) || translation.get("forceUpdate") != null && Boolean.TRUE.equals(translation.get("forceUpdate"))) { this.keyService.updateTranslation(keyDTO.getId(), languageId, translationValue); }
keyDTO.getTranslations().get(languageId)
Problem is the languageId is the UUID of the language, while instead the translations map holds the locale (de, en, etc) as key.The result is for the check to always return true and proceed to update every single entry of LEX_DATA, even for a single lexicon change.
The text was updated successfully, but these errors were encountered: