You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Bryan Bende (JIRA)" <ji...@apache.org> on 2018/12/19 15:21:00 UTC

[jira] [Created] (NIFI-5910) Upgrading versioned process group overwrites external service reference

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)