Mark Payne created NIFI-5142:
--------------------------------

             Summary: If funnel is made both the source and destination of a 
connection, connection cannot be removed
                 Key: NIFI-5142
                 URL: https://issues.apache.org/jira/browse/NIFI-5142
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Mark Payne
            Assignee: Mark Payne


To replicate, follow these steps:

1) Add a Funnel

2) Add an Output Port

3) Connect the Funnel to the Output Port

4) Add a bend point to the Connection (to help with the next step)

5) Attempt to change the target of the Connection to the Funnel (creating a 
self-loop)

6) An error is reported as expected

7) At this point, it is impossible to directly remove that Connection. 
Something appears to be in a bad state.

8) However, if you attempt to remove the Funnel the framework will implicitly 
removes all outgoing Connections. Possibly due to the bad state mentioned in 
the previous step, the Connection is not removed and remains in the flow.xml.gz 
even though the source of the Connection is removed. These leaves the 
flow.xml.gz with a Connection with a missing source element.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to