Bryan Bende created NIFIREG-275:
-----------------------------------

             Summary: FlowComparator does not compare nested PGs correctly
                 Key: NIFIREG-275
                 URL: https://issues.apache.org/jira/browse/NIFIREG-275
             Project: NiFi Registry
          Issue Type: Bug
    Affects Versions: 0.4.0, 0.3.0, 0.2.0, 0.1.0
            Reporter: Bryan Bende
            Assignee: Bryan Bende
             Fix For: 0.5.0


FlowComparator only continues comparing process groups if both groups have null 
version coordinates. This means differences don't get calculated on nested 
versioned flows.

A simple way to see the resulting problem of this issue is to use NiFi to make 
a simple nested setup like the following:

- Parent PG (v1)

    - Child PG (v1)

        - GenerateFlowFile

Now import Parent PG again so there are two instances of everything.

Change a property in the original GenerateFlowFile, save v2 of Child PG, save 
v2 of Parent PG.

Now if you update the second Parent PG to v2, it won't update the properties on 
the GenerateFlowFile processor because it didn't calculate any differences 
inside Child PG.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to