Closed
Description
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