Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid sideeffects of previous tasks. #35

Open
alexander-schranz opened this issue Feb 9, 2017 · 0 comments
Open

Avoid sideeffects of previous tasks. #35

alexander-schranz opened this issue Feb 9, 2017 · 0 comments

Comments

@alexander-schranz
Copy link
Member

alexander-schranz commented Feb 9, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant