Skip to content

[BC break] Exception thrown when "session save path is ignored without a handler service" #32837

@luispabon

Description

@luispabon

Symfony version(s) affected: 3.4.30

Description
Upon update from 3.4.29 to 3.4.30 a new exception is being thrown by framework bundle when save_path is used at framework.session when handler is set to null. This breaks previously working config (site doesn't use sessions).

It was introduced here: #31620

How to reproduce
https://github.com/phpdocker-io/phpdocker.io/blob/master/app/config/config.yml#L30

That was IIRC default config. Site doesn't use sessions.

Possible Solution
Remove the LogicException and instead throw a deprecation warning.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy