Skip to content

Avoid sideeffects of previous tasks.Β #35

@alexander-schranz

Description

@alexander-schranz

When a previous task failed e.g. on flushing entities all following tasks using doctrine will fail. The task bundle should use exec to have no sideeffects to other previous runned tasks.

This is needed bacause in symfony DI it is not able the reset the entity manager and other services which inject the entity manager will get the new reseted entity manager.

symfony/symfony#5339

Metadata

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