Postponed (maintainer needs more info)
Project:
Drupal core
Version:
main
Component:
request processing system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Apr 2016 at 21:23 UTC
Updated:
4 Aug 2026 at 14:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dawehnerThis one is tricky, maybe something like that?
Comment #3
dawehner.
Comment #5
wim leersComment #6
tim.plunkettYou'll need to replace this '/' with an object. And also worry about converting it to an object in set()
or
return $this->destination->toString($collect_bubbleable_metadata);Comment #7
dawehnerYeah I'm not sure yet how to properly achieve this for all cases. Do you agree though with the general direction?
Comment #10
yched commentedComing from #2847972: Missing context on UserLoginBlock causes render-cache poisoning of the "destination", which adds a missing 'url.query_args' cache context in UserLoginBlock.
I was a bit baffled that the following code in UserLoginBlock::build() :
$form['#action'] = $this->url('<current>', [], ['query' => $this->getDestinationArray(), 'external' => FALSE]);automatically adds the 'route' cache context required by the '
<current>' route,but leaves it to the consuming code to account for the cache contexts needed for the getDestinationArray() call.
It seems this issue might be able to do something about it, by allowing the various "if" branches in RedirectDestination::get() to add relevant cache metadata ?
Or maybe I'm understanding this issue incorreclty and it's shooting for something else entirely ?
Comment #23
smustgrave commentedThank you for reporting this problem. We rely on issue reports like this one to resolve bugs and improve Drupal core.
Since there has been no activity here for over 8 years we are asking if this problem persists on a currently supported version of Drupal. To help, add a comment explaining if the problem still occurs or not. Any extra detail you can provide can help others who experienced this.
Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Thanks!
Comment #25
smustgrave commentedWonder if anyone can confirm is still an issue or not?