-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Unit Of Work - entityIdentifiers Missing on cached OneToOne associations? #7759
Comments
@maarten-shop4 I believe this should be solved by #7778, would you be able to update to |
@lcobucci I just updated to |
@MrNicodemuz interesting, would you be up for sending us a PR with a failing functional test? That should help us a lot to identify and fix the issue. |
@lcobucci Here is a stack trace to begin with, not sure if it will be helpful:
|
The stack is not really helpful, sorry. |
Bug Report
Summary
Doctrine ORM is throwing Exceptions in UnitOfWork related to DefaultEntityCache
Current behavior
These are the errors:
prod environment:
dev environment:
How to reproduce
Reproducing the problem is also a problem, see this repository
Expected behavior
I'd expect that the UnitOfWork would be able to find an entityIdentifier for OneToOne associations
A little more information and context
I've tried to explain this issue at stackoverflow
I'm not sure if it's L2 cache, it could also be Query Cache. but it has to be some sort of cache, when I disable all cache configuration in the application my Importer commands work perfectly together with all other components. Even the symfony/validation component which is the last component added when the errors started occuring
One other thing, this might be related to this issue or any of the other issues reported with One To One associations and
The text was updated successfully, but these errors were encountered: