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

ManagerRegistery should reset entity managers on kernel.reset #1083

Open
nicolas-grekas opened this issue Dec 2, 2019 · 1 comment
Open

ManagerRegistery should reset entity managers on kernel.reset #1083

nicolas-grekas opened this issue Dec 2, 2019 · 1 comment
Assignees
Projects
Milestone

Comments

@nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Dec 2, 2019

Follow up of symfony/symfony#34720

ManagerRegistry is able to reset entity managers, but I think we missed wiring this capability with the kernel.reset tag so that EM are reset between requests in long-running loops.

Given the dependency on LazyLoadingInterface, this should be done only when the interface is found of course.

@alcaeus alcaeus added the Bug label Dec 2, 2019
@alcaeus alcaeus added this to the 1.12.3 milestone Dec 2, 2019
@alcaeus alcaeus self-assigned this Dec 2, 2019
@alcaeus

This comment has been minimized.

Copy link
Member

@alcaeus alcaeus commented Dec 2, 2019

I can take a look later today. Treating as a bug for now so we can also fix this in 1.12, otherwise we'd have this in 2.1 only.

@alcaeus alcaeus added this to 1.12 (bug fixes only) in Roadmap Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Roadmap
1.12 (bug fixes only)
3 participants
You can’t perform that action at this time.