Uploaded image for project: 'NiFi Registry - MOVED TO NIFI PROJECT'
  1. NiFi Registry - MOVED TO NIFI PROJECT
  2. NIFIREG-275

FlowComparator does not compare nested PGs correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.1.0, 0.2.0, 0.3.0, 0.4.0
    • 0.5.0
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              bbende Bryan Bende
              bbende Bryan Bende
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 20m
                  20m