- Merge request !139#3547294 Handle when suggestedEntityId node or template is deleted in `ContentTemplate` β (Merged) created by hooroomoo
If a piece of content that is set to be used in the content template preview has been deleted, then clicking that template in the menu results in a 404 since the content no longer exists. The only way out of that is to remove the node from the URL, otherwise the page is stuck with a 404.
Aka /canvas/template/node/article/full/1
if I delete node 1 then clicking the template item again will result in a 404.
Handle 404 and redirect to /canvas/template/node/{bundle}/{viewMode}
which will either re-route itself to the next existing suggestedEntityId
or to the state where a user is shown the "No content available" screen with the button to create a new piece of content.
Active
1.0
Page builder
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.