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/02/22 17:15: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=16775392#comment-16775392 ] 

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

Commit 26c00f1080741327bcac103eb106cacfbdfe6571 in nifi's branch refs/heads/master from Bryan Bende
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=26c00f1 ]

NIFI-6069 Fixing fingerprinting of connection relationships to be properly sorted

This closes #3325.

Signed-off-by: Mark Payne <ma...@hotmail.com>


> 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
>
>          Time Spent: 10m
>  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)