Open lars-lindstrom opened 3 months 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:
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
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.
The error in the console refers to an authentication token that is missing
We are experience the exact issue that Nicole describes above on Umbraco Cloud. CMS v14.2.0
This is a host problem. For example Azure rewrites the "%2F" to "/" https://learn.microsoft.com/en-us/answers/questions/2007707/azure-app-services-decodes-2f-in-a-inbound-request https://learn.microsoft.com/nl-nl/aspnet/core/fundamentals/routing?view=aspnetcore-7.0#routing-with-special-characters
For fixing this you can add middleware to rewrite the original url. https://github.com/LogOtter/log-otter/pull/188
If the Umbraco team is eager for fixing this in Umbraco. is a possible fix to Base64 the path variable and decode it back in the controller.
repo: deploy umbraco to azure See API results without authentication: {site}/umbraco/management/api/v1/partial-view/%2FName.cshtml - 401 unauthourized as expected {site}/umbraco/management/api/v1/partial-view/%2Fblockgrid%2Fdefault.cshtml - 404 not found, This is not expected
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.
The underlying call to the Management API returns a 404
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