Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[Serializer] Prevent access to private properties without getters#40004
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[Serializer] Prevent access to private properties without getters#40004
Uh oh!
There was an error while loading.Please reload this page.
Conversation
src/Symfony/Component/Serializer/Tests/Normalizer/ObjectNormalizerTest.phpShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
too bad we missed this!
Thank you@julienfalque. |
Thank you@nicolas-grekas :) |
andrzej-tracz commentedFeb 19, 2021
@nicolas-grekas this bug still appears on v4.4.19 and PHP version < 7.4. |
When upgrading
symfony/serializer
fromv5.2.1
tov5.2.2
, the serializer starts throwing exceptions because it cannot access some private properties that don't have a getter. This looks related to#38900.