-
Bug
-
Resolution: Not an issue
-
Critical
-
None
-
6.2.2
-
None
Situation:
- Using a dialog on the new UI framework of 6.2.x
- Using a 'label' for the dialog's form, as it was there before and still should be:
https://documentation.magnolia-cms.com/display/DOCS62/Dialog+definition
Problem:
The label property is ignored, the dialog opens with an i18n key:
Using this code:
form:  label: Two Columns  properties:   titleLeft:    $type: textField    label: Left Column Title    description: Enter title of the left column.   titleRight:    $type: textField    label: Right Column Title    description: Enter title of the right column.
Because the Bean does not contain a label property:
info.magnolia.ui.editor.ConfiguredFormDefinition<T>
Here the bean-minor-problem report form defintion app:
Bad side-effect:
If you create a 'textImage' or a 'teaser' component, the dialog has a Title -> it inherits it form the MTK's i18n message bundle.
This is very confusing, as one thinks it uses the label, until you try to change it. Or create another dialog and then you have suddenly a key and not the label in use.
The bad thing besides the confusion of this is, that one does not see the i18n key the system expects.
Severity of issue:
This is really bad as one can not create a dialog and set a label, one MUST generate i18n files even when using only one language.
Imagine a beginner starting to work with magnolia, but not knowing anything yet about the i18n system.
Or when migrating form old to new dialogs (as it was the case in my training material), soddenly no label is used anymore.
- is related to
-
MGNLUI-5814 Using labels at the form level is now broken
- Closed
-
DOCU-2041 Labels: Do not provide code examples without labels (e.g. forms)
- Closed
- relates to
-
MGNLUI-6089 Title is mandatory in dialogs
- Closed