Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-5142

If funnel is made both the source and destination of a connection, connection cannot be removed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • Core Framework
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              markap14 Mark Payne
              markap14 Mark Payne
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: