-
-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
This should resolve changes made in the latest release of doctrine2 #212
This should resolve changes made in the latest release of doctrine2 #212
Conversation
…e4a8b3de000a59f018ec250b41d714
I prefer fixing the BC break in Doctrine ORM instead, as this should not happen in the first place (it breaks the semver policy): doctrine/orm#1570 (comment) |
WTH... This class was never meant to be used by anyone... not even other Doctrine projects. |
My suggestion is to copy the new class and make it part of data-fixtures project. |
Let me explain why data-fixtures cannot accept cyclic dependencies. Old ORM implementation was loose and accepting cycles, and the implementation was relying which class got added first. Consuming the same implementation, a worse issue exist in data-fixtures project, because of FK constraints check could not be inferred depending of the filesystem order for loading the classes (related to order of add class on ORM), potentially creating an unusable scenario. Also, data-fixtures cannot be loose on cycles and must notify the user he is making a mistake by breaking the execution. This is what 2.0 implementation does and 1.X version should too. Accepting loose cycles lead to unpredictable execution logic, which may enter in either deadlocks or FK constraint errors. -1 on reverting on ORM and +1 on bringing the new, reliable execution checker to this version and release as another minor. |
Hello, I would like to ask you if there is any progress with this? I have updated my dependencies on doctrine and doctrine fixtures and now there is the error during the purging. Thanks for answer |
Hey guys, I'm updating my project from Symfony 2.7 to Symfony 3 and all is going well with the only exception being this error being thrown during I see people have been reporting this issue for over two months now, so why hasn't this been fixed yet? |
@jurchiks that is a problem that affects |
You mean |
Never mind, composer.lock contained a different version than composer.json, all because one dev-dependency had no stable versions and so "minimum-stability: dev" was required in composer.json... |
We have ORM 2.6 blocked anyway until this is resolved. The correct solution is the one suggested by @guilhermeblanco: duplicate the code into this package (and test it) |
Thanks, that does the trick (should have read this better -__-' not to delete my question, that was about how to fix the bug without having actually tested the commit fix) |
When could this fix be merged? Thank you. |
Closing this one in favor of #222 |
doctrine/orm@8ea62b9