Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
url
is wrong, route
is correct, because HelpBlock
does
$help = $this->moduleHandler->invokeAll('help', array($this->routeMatch->getRouteName(), $this->routeMatch));
Proposed resolution
Fix it.
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Why during RC?
Because core setting the right example wrt cacheability metadata is important: developers will look at core's examples and learn from them, core being wrong is problematic.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2604098-3.patch | 2.27 KB | Wim Leers |
Comments
Comment #2
Wim LeersComment #3
Wim LeersBlocked on #2541344: BlockBase subclasses should merge their cache tags/contexts with the parent's (BlockBase's) because patch is relative to that.
Comment #4
Wim LeersComment #5
Wim Leers#2541344: BlockBase subclasses should merge their cache tags/contexts with the parent's (BlockBase's) landed, unpostponing.
Comment #6
Wim LeersComment #7
Fabianx CreditAttribution: Fabianx at Tag1 Consulting commentedLooks good to me.
Is this really a bug fix or task for 8.1.x?
Comment #9
Wim LeersTestbot fluke.
Comment #11
catchWell the bad caching is the bug.
But given the fix caused unrelated test failures, and that might potentially affect contrib tests too which we shouldn't unnecessarily break in patch releases, just committing to 8.1.x for now. Committed/pushed to 8.1.x, thanks!