User warning: Trying to overwrite a cache redirect error

Created on 22 May 2025, 3 months ago

Problem/Motivation

User warning: Trying to overwrite a cache redirect for "toolbar:[languages:language_interface]=en:[route]=entity.node.canonicalXXXXXX:[theme]=XXXXXX:[user.permissions]=XXXXXX:[user.roles:anonymous]=false:[user.roles:authenticated]=true" with one that has nothing in common, old one at address "user.permissions, languages:language_interface, theme, route, user.roles:anonymous, user.roles:authenticated, route.menu_active_trails:admin" was pointing to "user", new one points to "user.node_grants:view". in Drupal\Core\Cache\VariationCache->set() (line 138 of core/lib/Drupal/Core/Cache/VariationCache.php).

Drupal 10.4.7
gin_toolbar 2.0.0

Steps to reproduce

Save a node as Draft, click the toolbar tray edit link from the View page, save the node as published. See the error above.

Proposed resolution

Add more cache contexts

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States daniel korte Brooklyn, NY

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024