You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using FilterExceptFilter to serialize selected fields, XmlBeanSerializer also serializes the AnyGetter field. The problem seems to be at XmlBeanSerializerBase.serializeFieldsFiltered() line: 292, where it calls _anyGetterWriter.getAndSerialize().
On the other hand YAML/JSON serialization works fine because BeanSerializerBase.serializeFieldsFiltered() line: 775, calls _anyGetterWriter.getAndFilter()
The text was updated successfully, but these errors were encountered:
Thank you for reporting the problem. One request: while I think I understand issue at high level, would it be possible to have a small reproduction? That makes it easier to not just fix, but verify the fix and guard against regressions?
Version: jackson-dataformat-xml-2.9.9
When using FilterExceptFilter to serialize selected fields, XmlBeanSerializer also serializes the AnyGetter field. The problem seems to be at XmlBeanSerializerBase.serializeFieldsFiltered() line: 292, where it calls _anyGetterWriter.getAndSerialize().
On the other hand YAML/JSON serialization works fine because BeanSerializerBase.serializeFieldsFiltered() line: 775, calls _anyGetterWriter.getAndFilter()
The text was updated successfully, but these errors were encountered: