You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
StorageExtension keeps holding reference to model if onPostExecute keeps ending with exception before StorageExtension is executed.
This becomes an issue if you're using Doctrine, executing request for multiple models and clearing EntityManager after each processed model.
The first processed model after such event ends with: Notice: Undefined index: 000000002300cb730000000045222964 in vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:3013
The text was updated successfully, but these errors were encountered:
Tetragramat
changed the title
StorageExtension keeps holding reference to model if onPostExecute keeps ending with exception before StorageExtension is executed.
StorageExtension keeps holding reference to model if onPostExecute keeps ending with exception before StorageExtension is executed
Nov 22, 2021
StorageExtension
keeps holding reference to model ifonPostExecute
keeps ending with exception beforeStorageExtension
is executed.This becomes an issue if you're using
Doctrine
, executing request for multiple models and clearingEntityManager
after each processed model.The first processed model after such event ends with:
Notice: Undefined index: 000000002300cb730000000045222964 in vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:3013
The text was updated successfully, but these errors were encountered: