You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/03/12 19:40:00 UTC

[jira] [Commented] (NIFI-6069) Incorrect sorting of connection relationships during flow fingerprinting

    [ https://issues.apache.org/jira/browse/NIFI-6069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16790917#comment-16790917 ] 

ASF subversion and git services commented on NIFI-6069:
-------------------------------------------------------

Commit f31f4009967a8f0992612fa478bf07c3b04e92bf in nifi's branch refs/heads/support/nifi-1.9.x from Bryan Bende
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=f31f400 ]

NIFI-6069 Fixing checkstyle error


> 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.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
>            Reporter: Bryan Bende
>            Assignee: Bryan Bende
>            Priority: Major
>             Fix For: 1.10.0, 1.9.1
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)