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
// @todo When not using the Symfony Session object, the list of bags in the
// NativeSessionStorage will remain uninitialized. This will lead to
// errors in NativeSessionHandler::loadSession. Remove this after
// https://www.drupal.org/node/2229145, when we will be using the Symfony
// session object (which registers an attribute bag with the
// manager upon instantiation).
#2229145: Register symfony session components in the DIC and inject the session service into the request object is long closed but the @todo remains.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#2 | 3206358-2.patch | 913 bytes | longwave |
Comments
Comment #2
longwaveLet's try the simple option of just removing this. It looks like the parent class should initialise this correctly already.
Comment #3
jibranComment #4
renatogIt really makes sense. The parents already do this, so it's not necessary.
+1 to RTBC
Comment #6
catchCommitted 64aa5fa and pushed to 9.2.x. Thanks!