diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/flow/synchronization/StandardVersionedComponentSynchronizer.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/flow/synchronization/StandardVersionedComponentSynchronizer.java index 957485ace5..f634ef538d 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/flow/synchronization/StandardVersionedComponentSynchronizer.java +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/flow/synchronization/StandardVersionedComponentSynchronizer.java @@ -217,6 +217,10 @@ public class StandardVersionedComponentSynchronizer implements VersionedComponen } } + if (diff.getDifferenceType() == DifferenceType.POSITION_CHANGED) { + continue; + } + final VersionedComponent component = diff.getComponentA() == null ? diff.getComponentB() : diff.getComponentA(); updatedVersionedComponentIds.add(component.getIdentifier()); diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/StandardNiFiServiceFacade.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/StandardNiFiServiceFacade.java index 602339cf5e..cc64d0047f 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/StandardNiFiServiceFacade.java +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/StandardNiFiServiceFacade.java @@ -5505,6 +5505,7 @@ public class StandardNiFiServiceFacade implements NiFiServiceFacade { .filter(diff -> !FlowDifferenceFilters.isScheduledStateNew(diff)) .filter(diff -> !FlowDifferenceFilters.isLocalScheduleStateChange(diff)) .filter(diff -> !FlowDifferenceFilters.isPropertyMissingFromGhostComponent(diff, flowManager)) + .filter(difference -> difference.getDifferenceType() != DifferenceType.POSITION_CHANGED) .map(difference -> { final VersionedComponent localComponent = difference.getComponentA();