Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
3.2.7
-
Empty show more show less
-
AuthorX 7
-
1
Description
Steps to reproduce
Configure a form field like the following:
properties: - name: typeExternal $type: compositeField propertyNameDecorator: info.magnolia.ui.field.PrefixNameDecorator i18n: false itemProvider: $type: currentItemProvider createIfMissing: true properties: - name: LinkText i18n: true $type: textField - name: Link i18n: true $type: textField - name: LinkTarget label: Target i18n: true $type: textField
Afterwards, trying to protect one of the inner fields won't apply the defined PropertyNameDecorator nor combine the composite field name with the inner field's name.
Expected results
Property name is properly generated and protects the field in question.
Actual results
Name generated ignores the configured PropertyNameDecorator, resulting on an incorrect property to be ignored.
Workaround
Removing the PropertyNameDecorator makes the issue inexistent, so in case of it not being necessary for the use case, removing it works as a workaround.
Development notes
Checklists
Acceptance criteria