-
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
Merge 2.13.x up into 3.0.x #9764
Conversation
When computing a foreign key column name, the referenced column name may be null in the case of a self referencing entity with join columns defined in the mapping.
These tests were using the fact that some arguments of some methods of the naming strategy interface are optional or nullable for now to avoid providing some. In practice, these arguments are always provided, and that should also be the case in tests.
…-platform Do not call AbstractSchemaManager::getDatabasePlatform()
Fix phpdoc and tests for NamingStrategy
@morozov the tests fails in orm/tests/Doctrine/Tests/ORM/Functional/SequenceEmulatedIdentityStrategyTest.php Lines 38 to 43 in 60f59b2
The comment refers to a dependency, and so does the error message:
I'm going to drop |
I don't think it's related to #9762. It's more likely related to doctrine/dbal#5396. |
The underlying sequence is now managed by Postgres, so there shouldn't be any additional handling in the ORM necessary. |
This allows to get rid of tearDown(), which contained a special handling that is no longer necessary since we switched away from explicitely managed sequences, and caused the test suite to fail.
I updated my commit message 👍 |
Should this change have been part of the merge commit? If done after it, it leaves a knowingly broken state behind and it couldn't have been done prior to the merge either. |
Why not? I think it could be cherry-picked on 3.0.x prior to the merge, couldn't it? The issue does not trigger because of the merge up, right? |
You're actually right. Given that the dependency of dev ORM on dev DBAL isn't locked, this code could have been updated prior to the merge. If it was locked, it should have been part of the update of the lock. |
No description provided.