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.49k stars 2.69k forks source link

Unable to open, edit, or rename a partial view in Umbraco. #17151

Open hipraveenmathew opened 1 month ago

hipraveenmathew commented 1 month ago

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

14.2

Bug summary

I created a partial view under Views/Partials/BlockList/Components/ for my Block List component. After navigating away and returning to the view, I am unable to open it, encountering an error message that says "APIError: Not Found." Additionally, I am unable to rename or delete any of my partial views.

Specifics

No response

Steps to reproduce

Create a new partial view under Views/Partials/BlockList/Components/. Navigate away from the view. Try to return to the partial view to edit or rename it. Observe that the view cannot be opened and the "APIError: Not Found" message is shown.

Expected result / actual result

No response

github-actions[bot] commented 1 month ago

Hi there @hipraveenmathew!

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:

kevin9092 commented 1 month ago

I cannot seem to replicate this on a fresh project with v14.2.

Do any of your partials have any unusual names or characters in them that could be causing this?

A screenshot or even a list of partial views in your projects blocklist/Components/ directory may help solve this one.

Edit: Is this running on Windows or Linux? It may be a case-sensitivity issue if its the latter.

NguyenThuyLan commented 1 month ago

Hi @hipraveenmathew , thanks for reporting issue. I can reproduce it on V14.3.0, After rename an partial view, it goes like this:

image
redsquare commented 1 month ago

We see this also in 14.3

image

nelsenlim commented 1 week ago

Hi @redsquare + @NguyenThuyLan

I am using Umbraco 14.3.1 In my case this happens only after i upload to Azure AppService It does not happen in localhost

The weird issue is if the cshtml is directly under Partial View it can be viewed successfully But if it exist in a subfolder ex: richtext/components it will not work (API Error - Not Found)

In my screenshot the WebsiteNav.cshtml is viewable but the rest of cshtml cannot be viewed

cshtml-viewer

Thank u