Umbraco-CMS icon indicating copy to clipboard operation
Umbraco-CMS copied to clipboard

MNTP dynamic root doesn't work inside block list elements

Open philipdanielhayton opened this issue 8 months ago • 1 comments

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

  1. Create a MNTP with a dynamic root query
  2. Create an element type, add the MNTP as a property
  3. Create a Block List and add the element from (3) as an allowed element
  4. Create a new doc type and add two properties; the MNTP and the block list
  5. 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.

philipdanielhayton avatar Jun 20 '24 08:06 philipdanielhayton