Problem/Motivation
User warning: Trying to overwrite a cache redirect with one that has nothing…
Related to upgrade to 10.4 with this change #3452181: VariationCache needs to be more defensive about cache context manipulation to avoid broken redirects
Steps to reproduce
- Ensure caching is enabled
- add this system breadcrumb block with this menu_breadcrumbs configured.
- Visit different pages.
Proposed resolution
Add cachability metadata for route context and add the same code in #3472014: BookBreadcrumbBuilder needs to always set the route.book_navigation cache context for the book module.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork menu_breadcrumb-3495164
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
joelpittetComment #4
joelpittetThis seems to fix the problem for us.
Comment #5
douggreen commentedThis fixed the problem for us as well. Can we get this merged and a new tag applied?
Comment #8
xurizaemonRebased, tidied and merged, thanks both!