Problem/Motivation
When viewing a node in Preview mode, the context does not include the route, so we have a cached version of the sidebar that applies for all routes, and since it's the preview it mean that the sidebar is never displayed.
Steps to reproduce
Create a node, preview it, and then save it. The action toolbar is not visible. Note that it is possible that this only happens for users with lower permissions, since the route dependency could come from somewhere else in the toolbar.
Proposed resolution
Add the route context for the preview as well.
Remaining tasks
Add test coverage.
User interface changes
API changes
Data model changes
Comments
Comment #2
mathilde_dumond commentedUpload of a patch with only the test, and a patch with test + fix.
Comment #7
japerry