Details
-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
None
Description
In 4.5 the node was created and assigned the default template, only afterwards did the user make a selection by changing the template in the template column.
In 5.0 we're instead presenting a dialog first where the user can select the template to assign to the node once its created.
This has produced a bug in the current code base where TemplateSelectorField queries for available templates using the parent node.
info.magnolia.rendering.template.assignment.TemplateDefinitionAssignment#getAvailableTemplates(Node) is not supposed to be used to test for available nodes in children of the passed node.
Checklists
Attachments
Issue Links
- is related to
-
MGNLSTK-1050 Template availability no longer working correctly
-
- Closed
-
-
MGNLSTK-1052 Template availability expects to be passed the parent node
-
- Closed
-