Pierre Villard created NIFI-15830:
-------------------------------------
Summary: Fix local change detection for versioned process groups
when setting previously unset properties
Key: NIFI-15830
URL: https://issues.apache.org/jira/browse/NIFI-15830
Project: Apache NiFi
Issue Type: Bug
Components: Flow Versioning
Affects Versions: 2.9.0
Reporter: Pierre Villard
Assignee: Pierre Villard
The *isPropertyAddedFromMigration* method in *FlowDifferenceFilters*
(introduced by NIFI-15776) is too broad. It classifies every *PROPERTY_ADDED*
diff for a non-dynamic property as an environmental change, without checking
whether the property already existed in the versioned snapshot. When a user
sets a previously-unset property (null to value), the comparator produces
{*}PROPERTY_ADDED{*}, and the filter incorrectly swallows it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)