doctrine / orm

Doctrine Object Relational Mapper (ORM)
https://www.doctrine-project.org/projects/orm.html
MIT License
9.86k stars 2.5k forks source link

Fixed proxy initialization for EnumReflectionProperty #11387

Closed valkars closed 3 months ago

valkars commented 3 months ago

Closes #11386

greg0ire commented 3 months ago

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

valkars commented 3 months ago

I'll try...

greg0ire commented 3 months ago

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

valkars commented 3 months ago

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

derrabus commented 3 months ago

Does this bug affect 2.19 as well?

valkars commented 3 months ago

Does this bug affect 2.19 as well?

https://github.com/doctrine/orm/issues/11386#issuecomment-2009915485

greg0ire commented 3 months ago

Thanks @valkars !