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

Fixed proxy initialization for EnumReflectionProperty #11387

Merged
merged 1 commit into from Mar 21, 2024

Conversation

valkars
Copy link

@valkars valkars commented Mar 20, 2024

Closes #11386

@greg0ire greg0ire added the Bug label Mar 20, 2024
@greg0ire
Copy link
Member

Can you please cover this with a test based on the example you gave in #11386?

@valkars
Copy link
Author

valkars commented Mar 20, 2024

I'll try...

@greg0ire
Copy link
Member

greg0ire commented Mar 20, 2024

Here is some guidance if you need it: https://github.com/doctrine/orm/blob/3.1.x/CONTRIBUTING.md#unit-tests

@valkars
Copy link
Author

valkars commented Mar 21, 2024

Test added, before patch it produced a fatal error. Now it works.

@derrabus
Copy link
Member

Does this bug affect 2.19 as well?

@valkars
Copy link
Author

valkars commented Mar 21, 2024

Does this bug affect 2.19 as well?

#11386 (comment)

@greg0ire greg0ire merged commit 4175edf into doctrine:3.1.x Mar 21, 2024
64 checks passed
@derrabus derrabus added this to the 3.1.1 milestone Mar 21, 2024
@greg0ire
Copy link
Member

Thanks @valkars !

@valkars valkars deleted the enum-reflection branch March 21, 2024 12:31
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.

Error in ProxyFactory using cloned proxy entity with Enum field
3 participants