Skip to content

Commit

Permalink
Fix ref to issue #3008 (NOT #3005)
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Feb 20, 2021
1 parent d5f91ec commit 0df9053
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Project: jackson-databind

2.12.2 (not yet released)

#3005: String property deserializes null as "null" for
#3008: String property deserializes null as "null" for
`JsonTypeInfo.As.EXTERNAL_PROPERTY`
#3022: Property ignorals cause `BeanDeserializer `to forget how to read
from arrays (not copying `_arrayDelegateDeserializer`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public boolean handlePropertyValue(JsonParser p, DeserializationContext ctxt,
ExtTypedProperty prop = _properties[index];
boolean canDeserialize;
if (prop.hasTypePropertyName(propName)) {
// 19-Feb-2021, tatu: as per [databind#3005], don't use "getText()"
// 19-Feb-2021, tatu: as per [databind#3008], don't use "getText()"
// since that'll coerce null value into String "null"...
_typeIds[index] = p.getValueAsString();
p.skipChildren();
Expand Down

0 comments on commit 0df9053

Please sign in to comment.