[
https://issues.apache.org/jira/browse/NIFI-15830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18073481#comment-18073481
]
ASF subversion and git services commented on NIFI-15830:
--------------------------------------------------------
Commit 937d0138912392b62b167f04f5e5f8bc4fd3e52a in nifi's branch
refs/heads/main from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=937d0138912 ]
NIFI-15830 Fixed local change detection for Process Groups when setting
previously unset properties (#11131)
Signed-off-by: David Handermann <[email protected]>
> 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
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)