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

joewitt pushed a commit to branch support/nifi-1.13
in repository https://gitbox.apache.org/repos/asf/nifi.git

commit d617e8ffdcf3825b306f36e804cf954c297ee568
Author: Mark Payne <[email protected]>
AuthorDate: Thu Feb 18 15:42:46 2021 -0500

    NIFI-8238: When FlowFile Concurrency/Outbound Policy is changed on child 
group, and child group is directly under version control, ensure that those 
fields are maintained on the generated VersionedProcessGroup when nested 
components are stripped out
    
    Signed-off-by: Pierre Villard <[email protected]>
    
    This closes #4831.
---
 .../src/main/java/org/apache/nifi/groups/StandardProcessGroup.java      | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/groups/StandardProcessGroup.java
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/groups/StandardProcessGroup.java
index 294faa5..4b381e1 100644
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/groups/StandardProcessGroup.java
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/groups/StandardProcessGroup.java
@@ -3578,6 +3578,8 @@ public final class StandardProcessGroup implements 
ProcessGroup {
                 childCopy.setName(childGroup.getName());
                 childCopy.setPosition(childGroup.getPosition());
                 
childCopy.setVersionedFlowCoordinates(childGroup.getVersionedFlowCoordinates());
+                
childCopy.setFlowFileConcurrency(childGroup.getFlowFileConcurrency());
+                
childCopy.setFlowFileOutboundPolicy(childGroup.getFlowFileOutboundPolicy());
 
                 copyChildren.add(childCopy);
             }

Reply via email to