Skip to content

[Doctrine Bridge] RegisterUidTypePass relies on non-existent parameter "doctrine.dbal.connection_factory.types" #39400

@craue

Description

@craue

Symfony version affected: 5.2.0

Description
While updating a bundle I noticed that running tests with Symfony 5.2 raised this error.

How to reproduce
If dbal is not explicitly enabled by config, DoctrineBundle's DoctrineExtension won't set doctrine.dbal.connection_factory.types. RegisterUidTypePass tries to access it anyway.

Additional context
installed dependencies
error log

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions