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

[DoctrineBridge] Fix UniqueEntityValidator with proxy object #57188

Merged

Conversation

HypeMC
Copy link
Contributor

@HypeMC HypeMC commented May 27, 2024

Q A
Branch? 7.1
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #57075
License MIT

Before #38662, $fieldValue = $class->reflFields[$fieldName]->getValue($entity); was used to get the value of a property, so it makes sense to keep using it when the object is an entity.

@carsonbot carsonbot added this to the 7.1 milestone May 27, 2024
@HypeMC HypeMC force-pushed the fix-uniqueentityvalidator-with-proxy-object branch from add9ceb to 028dbbb Compare May 27, 2024 00:29
@HypeMC HypeMC force-pushed the fix-uniqueentityvalidator-with-proxy-object branch from 028dbbb to 99f279b Compare May 27, 2024 00:56
Copy link
Contributor

@dmaicher dmaicher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking into it 👍

LGTM

@xabbuh
Copy link
Member

xabbuh commented May 31, 2024

Thank you @HypeMC.

@xabbuh xabbuh merged commit a2890a6 into symfony:7.1 May 31, 2024
6 of 10 checks passed
@HypeMC HypeMC deleted the fix-uniqueentityvalidator-with-proxy-object branch May 31, 2024 12:11
@fabpot fabpot mentioned this pull request Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants