Problem/Motivation

See #2223189: Use regular upstream HttpKernel instead of Drupal's custom

Proposed resolution

Instead of injecting request service, rather use the Symfony 2.4 request_stack in UrlCacheContext and ThemeCacheContext.

Remaining tasks

User interface changes

API changes

Comments

znerol’s picture

Status: Active » Needs review
Issue tags: +Quick fix
StatusFileSize
new5.15 KB
znerol’s picture

Issue summary: View changes

Status: Needs review » Needs work

The last submitted patch, 1: 2236167-use-request-stack-in-cache-context.diff, failed testing.

znerol’s picture

Status: Needs work » Postponed

Ok, this looks like DUBT test failures and this is very likely fixed the same way as #2225605-8: Use request stack in form builder. Let's postpone it on #2228341: Objectify session management functions + remove session.inc.

znerol’s picture

Status: Postponed » Needs review
znerol’s picture

znerol’s picture

dawehner’s picture

It would be great if at least core comitters are aware of the deprecation of the request service.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Still applies.

catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.x, thanks!

  • Commit a8f43b0 on 8.x by catch:
    Issue #2236167 by znerol: Use request stack in cache contexts.
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.