This is an automated email from the ASF dual-hosted git repository.

markap14 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/master by this push:
     new 79a3696  NIFI-5961 Fixing bug where the name of a versioned process 
group gets incorrectly reset
79a3696 is described below

commit 79a3696e5ebed8d87f7e377d429db91e8d74b4fd
Author: Bryan Bende <[email protected]>
AuthorDate: Fri Jan 18 10:35:35 2019 -0500

    NIFI-5961 Fixing bug where the name of a versioned process group gets 
incorrectly reset
    
    This closes #3271.
    
    Signed-off-by: Mark Payne <[email protected]>
---
 .../src/main/java/org/apache/nifi/web/api/VersionsResource.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/VersionsResource.java
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/VersionsResource.java
index dcc8493..518ceeb 100644
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/VersionsResource.java
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/VersionsResource.java
@@ -820,7 +820,7 @@ public class VersionsResource extends ApplicationResource {
                 versionControlInfoDto.setState(flowState.name());
 
                 final ProcessGroupEntity updatedGroup = 
serviceFacade.updateProcessGroupContents(rev, groupId, versionControlInfoDto, 
flowSnapshot, getIdGenerationSeed().orElse(null), false,
-                    true, entity.getUpdateDescendantVersionedFlows());
+                    false, entity.getUpdateDescendantVersionedFlows());
                 final VersionControlInformationDTO updatedVci = 
updatedGroup.getComponent().getVersionControlInformation();
 
                 final VersionControlInformationEntity responseEntity = new 
VersionControlInformationEntity();

Reply via email to