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

Copy & paste of a child PG when parent is under Version Control duplicates Versioned Component IDs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.19.0
    • Core Framework
    • None

    Description

      To replicate, follow these steps:

      1. Create PG
      2. Start version control on PG
      3. Create PG1 inside PG and add a processor inside PG1
      4. Commit changes to PG
      5. Copy and paste PG1, naming the copy PG2
      6. Commit top-level PG

      At this point, the two Processors (the one in PG1 and the one in PG2) will have the same Versioned Component ID. As a result, the flow that is pushed to NiFi Registry or saved when downloading the flow will result in both components having the same ID.

      This can cause NiFi to become confused when changing flow versions, and it may attempt to apply changes to one of the Processors to the wrong Processor.

       

      Attachments

        Issue Links

          Activity

            People

              markap14 Mark Payne
              markap14 Mark Payne
              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