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

Incorrect sorting of connection relationships during flow fingerprinting

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 1.1.0, 1.2.0, 1.1.1, 1.0.1, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.7.1, 1.9.0
    • Fix Version/s: 1.10.0, 1.9.1
    • Component/s: None
    • Labels:
      None

      Description

      If a connection has multiple relationships like the following:

      <relationship>C</relationship>
      <relationship>B</relationship>
      <relationship>A</relationship>

      The code was getting all children of "connection" with the name "relationship", then passing those to another method which attempted to get another child element named relationship, which resulted in comparing NO_VALUE to NO_VALUE, so every relationship was considered equal and thus not guaranteed to be sorted.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bbende Bryan Bende
                Reporter:
                bbende Bryan Bende
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h