We have just noticed that when making a change to a page (creating a draft version) and then trying to preview it we are getting a
The underling URL it's generating is /EPiServer/CMS/Content/,,15_2672 which is obviously the content item's reference ID as well as the version after the underscore. Everything is a non draft state works but draft previews aren't working.
We have commerce installed and we do have some custom routes but nothing that should interfere with Episerver's routing. Anyone have any idea if this is an issues that's been fixed or something not known about/a problem in our custom code?
Hi Scott, can you clarify your CMS and Commerce version.
I just quickly tested with one site using EPiServer.CMS 11.9.0, EPiServer.Find 13.0.1, TinyMCE 2.4.0. I edited an existing news page (all properties view) and then switched to preview and the page loaded just fine. This site has no custom routing.
11.4.0 for CMS as said above and 11.8.2 for commerce, Find 12.7.1
And to clarify the editor view is working fine with draft pages, it's specifically clicking the preview button in the top menu
Aah sorry, my brain refused to read anything after 404 in the title (too many fours and zeros after that ;P).
And just to clarify, I used the preview button in top menu and preview worked.
No worries, I should probably add it in the description as well, ironic as I've just blogged on how to write forum posts lol. It's an odd one, but I can't see anything routing wise that would be causing the issue.
Don't they say "Do as I say, not as I do."?
I had an older MVC Alloy site which I updated to EPiServer.CMS package 11.4.0 and the preview works there. So maybe something in your code or an add-on you might be using?
Lol yes exactly. Hmmn that's odd, I'll have to think about a way forward to try and identify what's going on. Thanks for the help, I might try disabling all the routing modules for now when I get a chance.