I had a hard-coded autonav for breadcrumbs and page_list for sub navigation in my v8 theme templates. These were both using custom templates in the application/blocks override directories and had been working as expected following the upgrade to v9.
Following the upgrade from 9.4.8 to 9.5.1 the blocks are no longer displayed on the page. Checking the logs it seems the custom templates are no longer recognised from the application/blocks directory but rather looking in the updates/concrete-cms-9.5.1-remote-updater directory instead.
I have temporarily fixed this by copying the relevant templates into the updates folder but this will obviously break again following any future updates. Is this a bug in the 9.5.1 update or is this a deprecated feature with an alternative implementation for v9?
I checked the v9 documentation but cannot find anything related to embedding blocks manually with a custom template defined in the render statement.
Thank you ConcreteOwl - I did try clearing the site cache and using a different browser incognito window to bypass local browser cache but this did not fix this issue. Thanks for the suggestion.
Thank you JohntheFish. I had these set up on a few older themes but it looks like I would be better following your advice and getting these updated in the long run. I suspect new global areas for these template types will be the solution. Thanks for your input, much appreciated.
Thinking further on your original post, the custom page template recognition may be another manifestation of a bug introduced in v9.5.0. There has been similar issues with custom and packaged block template and element resolution, where the core was not looking in the right places and fell back on default templates.
This is obviously not a proper fix, since it bypasses the normal rendering process, but it may help as a temporary solution until a real fix is available.
Thank you for the suggestion Vuish - certainly a more robust solution than copying custom template files into the updates directory!
Following JohntheFish’s advice regarding caching and performance, I have now replaced the embedded block with a global area and added the block with custom templates there instead.