-
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
All sequences merged into one since the merge of #10455 #10953
Comments
Please tell us which database you are using and provide a full reproducer. I only see one abstract class. |
I've completed the reproducer. |
Very close to the one described here #10927, same root cause but slightly different interpretation of the unexpected behavior. |
I did not, but here is a failing test case #10928 and it does it's own migrations, so |
Yes this is strange, from my observations your test should pass in 2.16 (with the |
I believe this is the same as #10927 |
I'm also effected by this regression problem after Composer recipe update. Doctrine option will set Please, do not turn on this feature by default when running the |
Did #11050 fix this? If so, please close. |
I'll try to check that this week. |
I confirm this is the fix 👍 |
Bug Report
All sequences merged into one since the merge of #10455
Summary
Since the upgrade of doctrine/orm from 2.15.5 to 2.16.2 all sequences, as resolved by ClassMetadataFactory, are replaced by a single one.
It seems to be a side effect of #10455.
Is it a bug ?
Or is there a way (config ?) or recommended workaround to have the original behavior ?
Current behavior
Since 2.16 (2.16.2) all concrete classes now share the same sequence, which has BTW a name based on the super class's one.
How to reproduce
We have a sequence defined in a mapped super class
Expected behavior
Before 2.16 (2.15.5) all concrete classes had their own sequence.
That means, with the provided reproducer, that Foo and Bar must have their own sequence.
The text was updated successfully, but these errors were encountered: