You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (Jira)" <ji...@apache.org> on 2022/10/19 17:27:00 UTC

[jira] [Created] (NIFI-10673) Copy & paste of a child PG when parent is under Version Control duplicates Versioned Component IDs

Mark Payne created NIFI-10673:
---------------------------------

             Summary: Copy & paste of a child PG when parent is under Version Control duplicates Versioned Component IDs
                 Key: NIFI-10673
                 URL: https://issues.apache.org/jira/browse/NIFI-10673
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Mark Payne
            Assignee: Mark Payne
             Fix For: 1.19.0


To replicate, follow these steps:
 # Create PG
 # Start version control on PG
 # Create PG1 inside PG and add a processor inside PG1
 # Commit changes to PG
 # Copy and paste PG1, naming the copy PG2
 # 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.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)