[
https://issues.apache.org/jira/browse/NIFI-14574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann resolved NIFI-14574.
-------------------------------------
Fix Version/s: 2.5.0
Resolution: Fixed
> Clear validation state after reloading component
> ------------------------------------------------
>
> Key: NIFI-14574
> URL: https://issues.apache.org/jira/browse/NIFI-14574
> Project: Apache NiFi
> Issue Type: Improvement
> Affects Versions: 2.4.0
> Reporter: Bryan Bende
> Assignee: Bryan Bende
> Priority: Major
> Fix For: 2.5.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When performing Change Version on a component, the underlying component is
> reloaded in the component node and then validation is triggered, however the
> node still has a validation context which is cached from whenever NiFi first
> started validation, and this can cause it to have old property descriptors
> that don't make sense for the new component.
> This particularly causes a problem for property descriptors that reference a
> controller service API where the descriptor in the validation context may be
> still referencing the older API, but the actual descriptor in the new
> component is referencing a newer API.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)