Skip to content

StorageExtension keeps holding reference to model if onPostExecute keeps ending with exception before StorageExtension is executedΒ #923

Open
@Tetragramat

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions