-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.InvalidCastException: Unable to cast object of type 'System.Web.Mvc.Routing.RouteCollectionRoute' to type 'System.Web.Routing.Route'. #28
Comments
Could it be might need to be.. Dropping webApi routes? |
Also having issues using
Means |
It would appear that these end up as |
Hi! Thanks for reporting this. It's not one I've seen before or had reported before. Is it a standard Umbraco site or are you doing anything "custom" with routing? I think with something like this, that I can't replicate, then would you be able to find a fix yourself? Doesn't need to be a PR, just the line of code. I'm guessing some kind of null check would be needed? |
Cheers! Will look at committing this to the main source code next time I'm working on it. Thanks for helping. |
Seeing a route enumeration error in diagnostics, any ideas?
Umbraco 8.17.1
God Mode 2.4.1
Might be associated with Swashbuckle 5.6.0 (SwaggerApi) ?
The text was updated successfully, but these errors were encountered: