Bryan Bende created NIFI-8933:
---------------------------------
Summary: Jersey ObjectMapper should ignore unknown fields
Key: NIFI-8933
URL: https://issues.apache.org/jira/browse/NIFI-8933
Project: Apache NiFi
Issue Type: Improvement
Affects Versions: 1.14.0
Reporter: Bryan Bende
Assignee: Bryan Bende
The ObjectMapper used by Jersey is configured in ObjectMapperResolver and does
not specify any configuration related to unknown fields, so the default is to
fail.
This can be problematic when trying to import a flow definition that may have
been produced with a newer NiFi version than the current one, and therefore has
new fields.
This works when we import from registry because the registry client uses a
different ObjectMapper, and the same for when using the UI to create a new
process group from a file, but it fails using the process group replacement
REST API.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)