You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Bryan Bende (JIRA)" <ji...@apache.org> on 2019/02/21 21:58:00 UTC
[jira] [Created] (NIFI-6069) Incorrect sorting of connection
relationships during flow fingerprinting
Bryan Bende created NIFI-6069:
---------------------------------
Summary: Incorrect sorting of connection relationships during flow fingerprinting
Key: NIFI-6069
URL: https://issues.apache.org/jira/browse/NIFI-6069
Project: Apache NiFi
Issue Type: Bug
Affects Versions: 1.9.0, 1.7.1, 1.8.0, 1.7.0, 1.6.0, 1.5.0, 1.4.0, 1.3.0, 1.0.1, 1.1.1, 1.2.0, 1.1.0, 1.0.0
Reporter: Bryan Bende
Assignee: Bryan Bende
Fix For: 1.10.0
If a connection has multiple relationships like the following:
{code:java}
<relationship>C</relationship>
<relationship>B</relationship>
<relationship>A</relationship>{code}
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)