-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
None
in method info.magnolia.editor.block.jcr.MultiJcrBlockEntryResolution#getBlocksByLocale
only language part of locale is taken into account when filtering nodes. If we are using locale with country part set, filtering doesn't work properly.
boolean matchSubLocale = StringUtils.endsWith(name, "_" + locale.getLanguage());
I guess we should change this line with something like:
boolean matchSubLocale = StringUtils.endsWith(name, "_" + locale.toString());
module version 2.1.3
Steps to reproduce:
- Update language from site to DE e.g: /travel/i18n/locales/de@languageÂ
- Edit a story
> switch language to german > click on Copy blocks from English Â> provide value for required fields -> save
Expected results: - Has block values for both languages
Actual result: - There's no value when switching to for German
Acceptance criteria
1.
|
Implementation | Closed | Oanh Thai Hoang | |
2.
|
Review | Closed | Lam Nguyen Bao | |
3.
|
Pre-Integration QA | Closed | Lam Nguyen Bao | |
4.
|
QA | Closed | Lam Nguyen Bao |