Skip to content

Comments

Update Details.cshtml There is bug#17

Open
AlexFromKiyv wants to merge 1 commit intoApress:mainfrom
AlexFromKiyv:patch-4
Open

Update Details.cshtml There is bug#17
AlexFromKiyv wants to merge 1 commit intoApress:mainfrom
AlexFromKiyv:patch-4

Conversation

@AlexFromKiyv
Copy link

@AlexFromKiyv AlexFromKiyv commented Nov 27, 2025

If id = null that Model.Entity = null and the call @Model.Entity.PetName makes an exception. The same bug on the pages Edit and Delete. Link for tests https://localhost:5021/Cars/Details/, https://localhost:5021/Cars/Details/1256321

If id = null that Model.Entity = null and @Model.Entity.PetName make ecxeption.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant