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

IBX-9421: Fixed global @serializer service overwriting Ibexa serializer variant #468

Open
wants to merge 2 commits into
base: 4.6
Choose a base branch
from

Conversation

emodric
Copy link
Contributor

@emodric emodric commented Jan 27, 2025

🎫 Issue IBX-9421

Description:

The problem here stems from Ibexa\Core\MVC\Symfony\Component\Serializer\CompoundMatcherNormalizer being erroneously tagged with serializer.normalizer tag, which means that once the global @serializer service is initialized (e.g. when used in a listener as outlined in the issue description), the Ibexa variant of the serializer which was injected into CompoundMatcherNormalizer will be overwritten by the global instance, causing the problem described in the issue.

@emodric emodric changed the title IBX-9421: Fix global @serializer service overwriting Ibexa serializer… IBX-9421: Fix global @serializer service overwriting Ibexa serializer variant Jan 27, 2025
@adamwojs adamwojs requested a review from a team January 30, 2025 15:55
src/bundle/Core/Resources/config/routing.yml Outdated Show resolved Hide resolved
Co-authored-by: Paweł Niedzielski <pawel.tadeusz.niedzielski@gmail.com>
@alongosz alongosz changed the title IBX-9421: Fix global @serializer service overwriting Ibexa serializer variant IBX-9421: Fixed global @serializer service overwriting Ibexa serializer variant Jan 31, 2025
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.

8 participants