Creating requests causes failures on Drupal 10.3

Created on 6 August 2024, 4 months ago

After updating to Drupal 10.3, facets stop working, at least with ajax views.

The reason is the calls to Request::create(), without setting a session on the created requests, in combination with core issue πŸ“Œ Remove calls to Request::hasSession() Active removing all calls to $request->hasSession() and assuming session exists.

Proposed resolution copy the logic of DrupalKernel::initializeEphemeralSession() to add a mock session on the created requests

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡·Greece s.messaris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024