Altinn / Altinn/app-lib-dotnet

Intermittent error - Uable to find Index.cshtml

Open
#160 7 comments 0 reactions 0 assignees View on GitHub
kind/bug status/triage
Dominant language
C#
Stars
8
Forks
27
Avg merge
1h 21m
Merged PRs (30d)
7

Description

### Description of the bug

Error happend when running local test on Windows machine.

App was created yesterday. When trying to start the app from local test the following error occured:

![image](https://user-images.githubusercontent.com/44457738/211822952-ac8ffee0-e7a8-42b9-84ad-da3bf97b7472.png)

When renaming the folder containing Home\Index.cshtml from "views" to "Views" the schema loaded as normal. I have not been able the recreate the error since, and the schema works now even when renaming the folder back to "views".

### Steps To Reproduce

-

### Additional Information

-

Contributor guide

Open the contributing guide

Research direction

Start by attempting the local test on Windows and inspect how Home\Index.cshtml is found when the containing folder is named views versus Views. The report has no reproducible steps, so confirm the intermittent failure before narrowing the cause. Done means the failure is reproducible or explained and the view loads reliably under the affected conditions.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.