Skip to content

[FrameworkBundle] Fix UidNormalizer priority #39672

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

Merged

Conversation

fancyweb
Copy link
Contributor

Q A
Branch? 5.2
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

AbstractUid implements \JsonSerializable. JsonSerializableNormalizer has a priority of -900, so it's actually this normalizer that is used instead of the good one. It does not change the result but it adds an extra layer.

@nicolas-grekas
Copy link
Member

Good catch, thanks @fancyweb.

@nicolas-grekas nicolas-grekas merged commit 85af7a2 into symfony:5.2 Jan 4, 2021
@fancyweb fancyweb deleted the fwb-fix-uid-normalizer-priority branch January 5, 2021 07:49
@fabpot fabpot mentioned this pull request Jan 27, 2021
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.

4 participants