Skip to content

[DoctrineBridge] ManagerRegistry::resetService breaks entity manager identities  #35216

Closed
@ostrolucky

Description

@ostrolucky

This method is inherently very unsafe to use, because it changes instance of wrapped entity manager, while other instances of said entity manager are untouched, which causes desynchronized identity maps.

We should think about other approach how to reopen entity manager, without breaking identitiees.

More info in doctrine/DoctrineBundle#1118 and doctrine/DoctrineBundle#1114

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