From a9e85c358c802ccfa7fa3f6d20e5758ec6295bde Mon Sep 17 00:00:00 2001 From: Bryan Bende Date: Mon, 7 May 2018 14:46:59 -0400 Subject: [PATCH] NIFI-5163 Clearing version control info when creating a template This closes #2685. Signed-off-by: Kevin Doran --- .../src/main/java/org/apache/nifi/controller/TemplateUtils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/TemplateUtils.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/TemplateUtils.java index 57ea19fe36..616f62c88b 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/TemplateUtils.java +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/TemplateUtils.java @@ -132,6 +132,7 @@ public class TemplateUtils { processGroupDTO.setStaleCount(null); processGroupDTO.setLocallyModifiedAndStaleCount(null); processGroupDTO.setSyncFailureCount(null); + processGroupDTO.setVersionControlInformation(null); scrubSnippet(processGroupDTO.getContents()); }