From df2147829742129c039b37c5d6f4f11aa54785a2 Mon Sep 17 00:00:00 2001 From: Bence Simon Date: Thu, 24 Nov 2022 21:41:50 +0100 Subject: [PATCH] NIFI-10874 Fixed issue with multiple levels of versioned flows This closes #6719 Signed-off-by: David Handermann --- .../org/apache/nifi/web/api/ProcessGroupResource.java | 11 +++++++++-- .../java/org/apache/nifi/web/api/dto/DtoFactory.java | 2 ++ 2 files changed, 11 insertions(+), 2 deletions(-) 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 6704ed5678..dee9a7e9bd 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 @@ -51,6 +51,7 @@ import org.apache.nifi.connectable.ConnectableType; import org.apache.nifi.controller.ScheduledState; import org.apache.nifi.controller.serialization.FlowEncodingVersion; import org.apache.nifi.controller.service.ControllerServiceState; +import org.apache.nifi.flow.VersionedFlowCoordinates; import org.apache.nifi.flow.VersionedParameterContext; import org.apache.nifi.flow.VersionedProcessGroup; import org.apache.nifi.parameter.ParameterContext; @@ -2013,7 +2014,13 @@ public class ProcessGroupResource extends FlowUpdateResource