NIFI-4436: Fixed bug that caused in Process Groups' names not to be fixed when 
reverting changes

Signed-off-by: Matt Gilman <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/63544c88
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/63544c88
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/63544c88

Branch: refs/heads/master
Commit: 63544c880ff173213f24db7bcf57fcf97a925556
Parents: fd18eeb
Author: Mark Payne <[email protected]>
Authored: Wed Jan 3 09:45:57 2018 -0500
Committer: Bryan Bende <[email protected]>
Committed: Mon Jan 8 12:44:57 2018 -0500

----------------------------------------------------------------------
 .../src/main/java/org/apache/nifi/groups/StandardProcessGroup.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/63544c88/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/groups/StandardProcessGroup.java
----------------------------------------------------------------------
diff --git 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/groups/StandardProcessGroup.java
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/groups/StandardProcessGroup.java
index 83468cf..870804d 100644
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/groups/StandardProcessGroup.java
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/groups/StandardProcessGroup.java
@@ -3470,7 +3470,7 @@ public final class StandardProcessGroup implements 
ProcessGroup {
                 
added.findAllRemoteProcessGroups().stream().forEach(RemoteProcessGroup::initialize);
                 LOG.info("Added {} to {}", added, this);
             } else if (childCoordinates == null || 
updateDescendantVersionedGroups) {
-                updateProcessGroup(childGroup, proposedChildGroup, 
componentIdSeed, updatedVersionedComponentIds, true, updateName, 
updateDescendantVersionedGroups, variablesToSkip);
+                updateProcessGroup(childGroup, proposedChildGroup, 
componentIdSeed, updatedVersionedComponentIds, true, true, 
updateDescendantVersionedGroups, variablesToSkip);
                 LOG.info("Updated {}", childGroup);
             }
 

Reply via email to