Bryan Bende created NIFI-5910:
---------------------------------

             Summary: Upgrading versioned process group overwrites external 
service reference
                 Key: NIFI-5910
                 URL: https://issues.apache.org/jira/browse/NIFI-5910
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Bryan Bende


Using two NiFi instances and one NiFi registry...

1) In NiFi 1:
 * Create a controller service at the root level
 * Create a process group with a processor that uses the service from the root 
level
 * Start version control

2) In NiFi 2:
 * Import the flow and see the processor has an invalid service reference
 * Create a service at root level and change processor to use that service
 * Notice no local changes to commit, this is correct

3) In NiFi 1:
 * Make a change to the processor, just move its position
 * Save version 2 of the flow to registry

4) In NiFi 2:
 * Upgrade the process group to version 2
 * Notice the service reference of the processor is reset back to the invalid 
reference

If you did the same steps, but in step 3 you modify something else besides that 
processor, then when upgrading in NiFi 2 it retains the correct service 
reference. So it is only when the upgrade has changes to the processor with the 
external service reference.



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

Reply via email to