Closed (fixed)
Project:
Drupal core
Version:
main
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2026 at 16:36 UTC
Updated:
25 Mar 2026 at 19:10 UTC
Jump to comment: Most recent
Tiny follow-up from #3577376: Remove recently introduced deprecations from SessionManager. I forgot to adapt the arguments array of the session_manager service definition.
Drop the last item from the arguments of session_manager service definition.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #7
znerol commentedComment #8
dcam commentedI thought about tagging this as "Novice" for the code review, but I'm not sure there's anything to be learned from checking this one-line change.
For the sake of being thorough I compared the service definition to the class constructor, just to make certain something else wasn't missed. I didn't see any issue. I also searched Core for any manual instantiations of
SessionManagerto make certain that they'd been updated. But there aren't any. LGTM.Comment #9
longwaveMaybe similar to #3578486: Check aliases match interfaces in AutowireTest we could add test coverage for this, using reflection to check that the arguments match the services.
Committed and pushed 53c41808f94 to main. Thanks!
Comment #12
longwaveOpened #3578630: Check that services definitions match their argument count