-
Bug
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
-
Empty show more show less
-
Kromeriz 32
-
2
info.magnolia.ui.form.field.factory.SelectFieldFactory#getSelectFieldOptionDefinition does:
- option.getLabel(): Since it's wrapped by i18n proxy and there is no translation in new message bundles, the longest key is returned.
- getMessage(option.getLabel): The old translation mechanism uses this longest key returned from new i18n and looks in default UI message bundles.
=> We use the key generated by NEW i18n as the key to translate by OLD i18n.
=> This only works if there is a translation for the longest key, otherwise it doesn't work.
The old i18n mechanism should not be called at all since the option definition is already wrapped by i18n proxy.
- is causing
-
MGNLUI-3818 SelectFieldFactory is not translating keys, if options are build from repository path
- Closed
- is depended upon by
-
MTE-76 Make sure that i18n keys may be reused by other modules
- Closed
- is duplicated by
-
MAGNOLIA-6455 SelectFieldFactory still uses getMessage() to resolve messages
- Closed
- relates to
-
MGNLTPLSMPL-22 samplesFieldShowRoom dialog has i18nBasename set, but not labels for all fields
- Closed
-
MGNLUI-1548 Remove/inline FormItem and related sub-classes
- Closed