Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6108

Port names in nested PGs get changed when importing from Registry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.9.0
    • 1.10.0, 1.9.1
    • Flow Versioning
    • None

    Description

      When importing a versioned process group from NiFi Flow Registry to the canvas, if the versioned process group contains nested (unversioned) process groups, any input or output ports in the nested process group will be renamed upon import. The net result is that you end up with names that look like name (<port-uuid>) and that the process group shows that it is out of sync with Registry because of local changes.

      *Workaround in affected versions: *manually rename any affected ports back to their correct names, i.e., remove the (<port-uuid>) portion.

      For background, this bug got introduced in the fix for NIFI-5950 which was adding temporary name suffixes during flow updates to avoid name collision during the flow update sequence. If the port is in an unversioned, nested PG, the code that renames it to its final name will fail.

      Attachments

        Issue Links

          Activity

            People

              kdoran Kevin Doran
              kdoran Kevin Doran
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 40m
                  40m