orm icon indicating copy to clipboard operation
orm copied to clipboard

[BUG] Resetting an entity manager doesn't reload the extensions

Open kennaar opened this issue 6 years ago • 0 comments

laravel-doctrine/orm v1.4.9, Laravel 5.7.26

Expected behaviour

After resetting an entity manager, the same extensions should be loaded (listed in doctrine.extensions) for that manager.

Actual behaviour

None of the extensions are loaded.

Steps to reproduce the behaviour

  • Enable any of the extensions listed in doctrine.extensions
  • Call ManagerRegistry::resetManager
  • Inspect the listeners for that particular entity manager

kennaar avatar Sep 25 '19 15:09 kennaar