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 EnumReflectionProperty ClassMetadata deserialization #2446

Merged

Conversation

IonBazan
Copy link
Member

@IonBazan IonBazan commented May 10, 2022

Q A
Type bug
BC Break no
Fixed issues -

Summary

When deserializing ClassMetadata, reflProperty is recreated using ReflectionService but the EnumReflectionProperty is not handled there and since it does not have access to the mapping, it has been fixed in ClassMetadata::__wakeup() instead.

@IonBazan IonBazan added the Bug label May 10, 2022
@IonBazan IonBazan requested review from jmikola, franmomu and malarzm May 10, 2022 07:20
@malarzm malarzm modified the milestones: 2.4.1, 2.4.2 May 10, 2022
@IonBazan IonBazan merged commit 21d650f into doctrine:2.4.x May 10, 2022
@IonBazan IonBazan deleted the bugfix/enum-metadata-serialization branch May 10, 2022 07:39
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.

3 participants