[
https://issues.apache.org/jira/browse/NIFI-14574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17952687#comment-17952687
]
ASF subversion and git services commented on NIFI-14574:
--------------------------------------------------------
Commit e48f8f9b8e98a3b092bc3260957ba84d33521a1a in nifi's branch
refs/heads/main from Bryan Bende
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=e48f8f9b8e ]
NIFI-14574 Clear validation state after reloading component (#9954)
Signed-off-by: David Handermann <[email protected]>
> 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
> 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)