From 05e9e6eaa5f92a0277ef1a283c6470db08d34de8 Mon Sep 17 00:00:00 2001 From: Matt Gilman Date: Mon, 22 Jan 2018 12:09:15 -0500 Subject: [PATCH] NIFI-4799: - Ensure variable registry update request is marked completed. This closes #2421. Signed-off-by: Mark Payne --- .../java/org/apache/nifi/web/api/ProcessGroupResource.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ProcessGroupResource.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ProcessGroupResource.java index 6e99a07ea3..b9840f10f9 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ProcessGroupResource.java +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ProcessGroupResource.java @@ -755,6 +755,9 @@ public class ProcessGroupResource extends ApplicationResource { SecurityContextHolder.getContext().setAuthentication(authentication); updateVariableRegistryReplicated(groupId, originalUri, activeAffectedProcessors, activeAffectedServices, updateRequest, requestVariableRegistryEntity); + + // ensure the request is marked complete + updateRequest.setComplete(true); } catch (final Exception e) { logger.error("Failed to update variable registry", e);