Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Serializer] Make document type nodes ignorable #44650

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

boenner
Copy link
Contributor

@boenner boenner commented Dec 15, 2021

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #44363
License MIT
Doc PR -

As described in #44363: while looping over all nodes, the current node is checked against the list of ignored node types before throwing the NotEncodableValueException if it's a document type node.

@boenner boenner requested a review from dunglas as a code owner December 15, 2021 17:25
@carsonbot carsonbot added this to the 4.4 milestone Dec 15, 2021
@boenner boenner force-pushed the serializer-xmlencoder-ignore-document-type branch 2 times, most recently from 86c2978 to 410f9ba Compare December 15, 2021 18:20
@carsonbot
Copy link

Hey!

I think @mvorisek has recently worked with this code. Maybe they can help review this?

Cheers!

Carsonbot

@glauberm
Copy link

glauberm commented Feb 9, 2022

Any news on this?

@boenner boenner force-pushed the serializer-xmlencoder-ignore-document-type branch from 410f9ba to 2c75e27 Compare February 13, 2022 18:48
@nicolas-grekas
Copy link
Member

Thank you @boenner.

@nicolas-grekas nicolas-grekas merged commit 43820b7 into symfony:4.4 Feb 18, 2022
This was referenced Feb 28, 2022
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