umbraco / Umbraco-CMS

Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
https://umbraco.com
MIT License
4.36k stars 2.64k forks source link

MNTP dynamic root doesn't work inside block list elements #16632

Open philipdanielhayton opened 1 week ago

philipdanielhayton commented 1 week ago

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:

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.

github-actions[bot] commented 1 week ago

Hi there @philipdanielhayton!

Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.

We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.

We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.

Thanks, from your friendly Umbraco GitHub bot :robot: :slightly_smiling_face: