-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Serializer] forward exceptions caught in the AbstractObjectNormalizer
#57433
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
Conversation
xabbuh
commented
Jun 17, 2024
Q | A |
---|---|
Branch? | 7.1 |
Bug fix? | yes |
New feature? | no |
Deprecations? | no |
Issues | Fix #57427 |
License | MIT |
this makes sure that |
src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php
Outdated
Show resolved
Hide resolved
AbstractObjectNormalizer
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.
A small test case? 🙏
@nicolas-grekas @xabbuh See #57559, the test passes on 5.4, 6.4 and 7.0, but fails on 7.1. When I apply the changes made in this PR, it passes on 7.1 as well. |
@HypeMC 👍 great, I have cherry-picked your commit here too |
…ct (HypeMC) This PR was merged into the 5.4 branch. Discussion ---------- [Serializer] Check if exception message in test is correct | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | Fix #57427 (just test) | License | MIT This is a test for #57433 Commits ------- 2fc8789 [Serializer] Check if exception message in test is correct
Thank you @xabbuh. |