Problem/Motivation
When #3452181: VariationCache needs to be more defensive about cache context manipulation to avoid broken redirects was merged caused some issues in the book module. This was fixed in contrib #3472014: BookBreadcrumbBuilder needs to always set the route.book_navigation cache context but needs to be fixed in 10.4.x branch for tests to run
Steps to reproduce
Proposed resolution
Use same solution.
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3472592
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
smustgrave commentedComment #4
smustgrave commentedComment #5
bbralaTests green, same fix as here: https://www.drupal.org/project/book/issues/3472014
Looking good, RTBC,
Comment #6
bbralaComment #7
catchComment #10
catchCommitted/pushed to 10.4.x, thanks!
Since this is a straight bug-fix for book module, backported to 10.3.x, too.
Comment #11
gillesbailleuxHello,
Since updating from D10.3.3 to D10.3.4, the
nav-item activeclass of the menu is only active on the homepage. I looked in the changes of the release and found this book breadcrumb related issue. The website uses the bootstrap_barrio 5.5.17 theme and the menu was working just fine before the update.Regards,
Gilles
Comment #12
gillesbailleuxAs mentioned by smustgrave on Slack, there is no relation between the Book breadcrumb cacheability issue and the Bootstrap menu issue because the website does not have the Book module activated.
Comment #13
gillesbailleuxD10.3.5 solves the isssue I raised.
"This release reverts #3471741: Fix null $cid in CacheCollector classes, released in 10.3.4, which conflicted with Menu Trail by Path, Entity Manager and Gin Toolbar modules."