IVirtualController templates not working in 13.6.0
# help-with-umbraco
r
Probably quite a niche issue here but in our 13.6.0 upgrade branch for a project that utilises IVirtualControllers, we are starting to get "InvalidOperationException: The template with Id -1 does not exist, the page cannot render." errors. I can see that there was a mention of a bug with IVirtualControllers being fixed to do with the ability to access CurrentPage in an IVirtualController but I can see any changes that would have resulted in the issue we are getting. Does anyone have any ideas as to what this could be? We' not change any of our custom code and even in the current dev branch I can see that the tempalteId is still -1 but works! Any help would be greatly appreciated! https://cdn.discordapp.com/attachments/1343556590976106588/1343556591139688470/image.png?ex=67bdb415&is=67bc6295&hm=ee12b9fb2bcb74c4d7113535f3cd350a0195c955bb9e8818a0152fbc7c24fc72&
What I also find interesting is that a break point is able to be hit on the pre 13.6 template, but becomes hollow/unhittable on the 13.6 branch as the project loads. This makes me think that Umbraco sees the routes required and doesn't compile it anymore or something like that?
3 Views