Cache information is missing in node preview context

Created on 4 January 2024, 6 months ago
Updated 30 May 2024, about 1 month ago

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

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇨🇭Switzerland mathilde_dumond

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024