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

Empty String ("") parsed as 0 for int even if DeserializationFeature.FAIL_ON_NULL_FOR_PRIMITIVES enabled #474

Closed
cowtowncoder opened this issue May 4, 2021 · 0 comments
Milestone

Comments

@cowtowncoder
Copy link
Member

(note: offshoot of #473)

Looks like coercion for XML empty String value into null does not trigger failure for primitive types, even if DeserializationFeature.FAIL_ON_NULL_FOR_PRIMITIVES is enabled, in 2.12.
It should.

But given timing, this probably needs to be changed only in 2.13.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant