Merge pull request #52 from rosiel/session-not-set

Set session for ajax request.
This commit is contained in:
Annie Oelschlager 2024-07-24 12:33:22 -05:00 committed by GitHub
commit 353f6fcbc1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -135,6 +135,7 @@ class AjaxBlocksController extends ControllerBase {
} }
$new_request = Request::create($path); $new_request = Request::create($path);
$new_request->setSession($request->getSession());
$request_stack = \Drupal::requestStack(); $request_stack = \Drupal::requestStack();
$processed = $this->pathProcessor->processInbound($new_request->getPathInfo(), $new_request); $processed = $this->pathProcessor->processInbound($new_request->getPathInfo(), $new_request);