Geta / geta-notfoundhandler

The popular NotFound handler for ASP.NET Core and Optimizely, enabling better control over your 404 page in addition to allowing redirects for old URLs that no longer works.
Apache License 2.0
20 stars 16 forks source link

The issue with Admin UI cannot be found #127

Open wakedupblessed opened 4 months ago

wakedupblessed commented 4 months ago

Good morning, guys

I have faced the issue with your package: in my optimizely project i am using the different project structure so my _Layout lives under Pages/Shared instead of default Views/Shared. I consider this can be an issue that I am recieving this kind of error while trying to open admin view in CMS

the Error message:

The error message you provided indicates that there is a mismatch between the model expected by your view and the model being passed to it. Specifically, your view is expecting a model of type Web.Features.Layout.Interfaces.ILayout<T> but it is receiving a model of type Geta.NotFoundHandler.Admin.Pages.Geta.NotFoundHandler.Admin.IndexModel

the result in cms (I`m redirected to our 505page)

image