[ 
https://issues.apache.org/jira/browse/NIFI-7241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Payne updated NIFI-7241:
-----------------------------
    Affects Version/s:     (was: 1.11.2)

> Unable to remove port from a child ProcessGroup
> -----------------------------------------------
>
>                 Key: NIFI-7241
>                 URL: https://issues.apache.org/jira/browse/NIFI-7241
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Flow Versioning
>            Reporter: Wouter de Vries
>            Assignee: Mark Payne
>            Priority: Major
>         Attachments: trace.log
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Given the following scenario:
>  * Output port 1 in process group A
>  * Input port 2 in process group B
>  * A connection between A and B
>  * Process group C is versioned and contains A and B
> Removing the connection as well as output port 1 and  then committing the 
> version creates a flow version that cannot be upgraded to. (Try reverting to 
> an older version, and back to this version). Throwing an 
> IllegalStateException.
> I believe this is caused by the order of updates in 
> "StandardProcessGroup.java" where child groups (line 3781) are updated prior 
> to the connections of the group itself (line 3986). This causes the output 
> port to be removed before the connection from it is removed. I haven't tested 
> this but probably removing the input port causes similar issues.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to