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

nested content AngularJS template issue after 13.3 upgrade #16239

Open shearer3000 opened 1 month ago

shearer3000 commented 1 month ago

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

13.3.0

Bug summary

We have a CMS upgraded to Umbraco 13, so it has preexisting content based on the nested content editor (appreciate this is now marked as legacy, and to be removed in Umbraco 14).

After upgrading to 13.3.0, we've noticed that when editing content, the AngularJS template property of the nested content definition no longer works i.e. a template of "{{section[0].name}}" no longer displays what the syntax prescribes, but just "Item x" instead e.g. "Item 1".

This wasn't an issue in 13.1, 13.2.

Specifics

No response

Steps to reproduce

Edit content that uses a nested content property editor by modifying any existing content or adding new content, observe whether the AngularJS template syntax reflects the underlying content

In the following screenshot, the green box represents existing content (added in prior Umbraco 13 minor version), item 1 was existing content that was changed, and item 6 was newly added (after the Umbraco 13.3 upgrade)

image

Edit: in this case, the syntax is to target content authored with a Umbraco.MultiUrlPicker editor

Expected result / actual result

Expected: the syntax defined by the AngularJS template works Actual: syntax not working and editor show default index value instead eg. "Item 1", "Item 6"

github-actions[bot] commented 1 month ago

Hi there @shearer3000!

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:

sandhuravinder commented 1 month ago

@shearer3000 Are you using Umbraco's default nested content picker? Or do you have your custom implementation of nested content?

shearer3000 commented 1 month ago

Using the default nested content picker @ravindersinghsandhu, correct :)