Umbraco-CMS
Umbraco-CMS copied to clipboard
MNTP dynamic root doesn't work inside block list elements
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
14.0.0
Bug summary
MNTP with a dynamic root query doesn't work when on an element type within a block list.
https://github.com/umbraco/Umbraco-CMS/assets/19938510/2c2a3704-34b3-45e9-b514-2d087bc5f7a1
Specifics
Some extra info:
- I've tried using both Site and Root start nodes, both fail
- The property editor has 'ignore root node' set. If it's unset, it throws a 401 as you would expect.
- It works when hand picking a specific start node
Steps to reproduce
- Create a MNTP with a dynamic root query
- Create an element type, add the MNTP as a property
- Create a Block List and add the element from (3) as an allowed element
- Create a new doc type and add two properties; the MNTP and the block list
- Create a new node in the content tree of type (4) and try to pick a node using both the MNTP and the Block List editor. The MNTP directly on the node will work, the one on the block list nested element will not.
Expected result / actual result
I would expect the MNTP on the block list nested element to resolve to the correct location.