[ 
https://issues.apache.org/jira/browse/NIFI-8933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Villard resolved NIFI-8933.
----------------------------------
    Fix Version/s: 1.15.0
       Resolution: Fixed

> 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
>            Priority: Minor
>             Fix For: 1.15.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to