Bryan Bende created NIFI-14574:
----------------------------------

             Summary: 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


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)

Reply via email to