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

Fix wrong usage of discriminator map in complex document inheritance chains #2025

Merged

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented May 2, 2019

Q A
Type bug/improvement
BC Break yes
Fixed issues #2024 (partially)

Summary

See #1962 for details. This brings the wanted functionality into 2.0 as we can't have it in 1.x due to a regression with partial discriminator maps. While #2024 wants the same behaviour for inheritance chains without discriminators, this isn't possible since the subclasses of a particular class aren't known.

@alcaeus alcaeus added the Bug label May 2, 2019
@alcaeus alcaeus added this to the 2.0.0-RC1 milestone May 2, 2019
@alcaeus alcaeus self-assigned this May 2, 2019
@alcaeus alcaeus requested a review from malarzm May 2, 2019 18:35
@alcaeus alcaeus force-pushed the fix-wrong-discriminator-inheritance branch from 89b7c60 to e7d240c Compare May 3, 2019 18:12

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@malarzm malarzm merged commit 89c4da8 into doctrine:master May 3, 2019
@malarzm
Copy link
Member

malarzm commented May 3, 2019

Thanks @alcaeus!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants