Property ignorals cause BeanDeserializer
to forget how to read from arrays (not copying _arrayDelegateDeserializer
)
#3022
Milestone
Describe the bug
When
withIgnorableProperties
is called on an already-resolved BeanDeserializer that is meant to read from an array, it uses a constructor that does not copy_arrayDelegateDeserializer
, and so the deserializer "forgets" how to read from an array.This can happen is in
createContextual
if any ignorals are set. When the deserializer returned bycreateContextual
is then used on an array, it throws an error that it can't read from a START_ARRAY token.Version information
I am using Jackson 2.10.5 but the problem seems to still exist in the latest master.
To Reproduce
I don't have a minimized test case handy, but hopefully the summary is enough to write one.
The text was updated successfully, but these errors were encountered: