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.41k stars 2.66k forks source link

Partial view depth 2 Throws API Error - Not found #16823

Open lars-lindstrom opened 1 month ago

lars-lindstrom commented 1 month ago

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

14.2.0--rc.preview.9.g7e444e5

Bug summary

The problem is not isolated to version 14.2.0--rc.preview.9.g7e444e5, it also happend in v 14.0.0, 14.1.0 and 14.1.1

The problem locks similar to this bug in Umbraco Cloud https://github.com/umbraco/Umbraco.Cloud.Issues/issues/806

Specifics

The bug occurs on calls to the "/umbraco/management/api/v1/partial-view/{path}" endpoint

Steps to reproduce

Opening any file at a depth of 2 or more in the partials folder results in an "API Error" 404.

image

The underlying call to the Management API returns a 404 image

If a file is placed in the "Partials" folder depth 1, no error is produced

Expected result / actual result

The selected file at depth 2 or more should be loaded for editing in the BackOffice

github-actions[bot] commented 1 month ago

Hi there @lars-lindstrom!

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:

elit0451 commented 1 month ago

Hi @lars-lindstrom 👋

Thanks for reaching out! Unfortunately, I wasn't able to reproduce this in Umbraco 14.1.1. Here is a video of what I did, perhaps you can point me to what I'm missing:

https://github.com/user-attachments/assets/4695a033-bcf7-4664-bea3-9d5853ca342f

Nicole-Buys commented 3 weeks ago

I have also run into this issue still. CMS v14.1.2

Steps to reproduce: I have only been able to reproduce this error on Umbraco Cloud as it does not seem to happen locally.

  1. create a fresh v14 project on cloud
  2. go to partial views --> blockgrid
  3. try to view or create any partial views

The error in the console refers to an authentication token that is missing image

matthew-covey-el commented 12 hours ago

We are experience the exact issue that Nicole describes above on Umbraco Cloud. CMS v14.2.0