You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When publish an ErrorPage in a subsite from the main CMS panel (not a subsite), the
errorpage module doesn't account for the subsites and renders 404 as the page static version.
When publish the same Error page from within the subsite CMS panel, it renders the correct content.
Hit cwp23.localhost/fsidofoisfois - renders the main site's error page correctly
Hit cwp23-subsite.localhost/sdfijsdofjsdofj - renders the subsite's error page correctly
When you hit it in the browser it's not showing you the static version, but always renders it anew. Static versions go into public/assets/error-*.html files. I think that makes it impact/low.
Version
Description
When publish an ErrorPage in a subsite from the main CMS panel (not a subsite), the
errorpage module doesn't account for the subsites and renders 404 as the page static version.
When publish the same Error page from within the subsite CMS panel, it renders the correct content.
Happens here: https://github.com/silverstripe/silverstripe-errorpage/blob/6f1fcfc571787662b179f47ad6fe01185d2daf76/src/ErrorPage.php#L318
Here's an example of the erroneous content:
The text was updated successfully, but these errors were encountered: