-
Task
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
Background: While fixing the issue MGNLUI-5624, it was discovered that publish incl. subpages action was unavailable on dx-core, but available on ce. Upon further investigation it was found, that this behavior was due to incorrect nodeType configuration in pages-app decorator in personalization-pages-app module in dx-core. The nodeType configuration expected by the info.magnolia.ui.availability.rule.JcrHasChildrenRuleDefinition was a list of strings, but the decoration provided a list of NodeType Objects of the form:
nodeTypes: - name: mgnl:page - name: mgnl:variants
It was further noted that other nodeType configurations in personalization-pages/decorations/pages-app/apps/pages-app.yaml were of the form of List of NodeType objects. As a consequence, there are two things that need to be analyzed and fixed:
- So, there are In order to avoid confusion, maintain consistency, and avoid a source of potential bugs in configuration of nodeTypes, all nodeTypes should be maintained as a single type
- Fix the bugs in configurations where nodeTypes property configured is not of the same type as expected by the Definition