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 2023/01/23 17:06:00 UTC

[jira] [Created] (NIFI-11089) Import from registry can create duplicate parameter providers

Bryan Bende created NIFI-11089:
----------------------------------

             Summary: Import from registry can create duplicate parameter providers
                 Key: NIFI-11089
                 URL: https://issues.apache.org/jira/browse/NIFI-11089
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Bryan Bende


While testing the fix for NIFI-11039, I created a scenario that created duplicate providers when importing from registry, when the intent was for them to be the same provider.

Scenario:
 * Create FileParameterProvider with two directories specified (group1, group2)
 * Create parameter contexts from each group
 * Create a flow with parent pg and child pg
 * Configure parent to use group1 context
 * Configure child to use group2 context
 * Save flow to registry
 * Delete everything from nifi (PGs, contexts, provider)
 * Import PG from registry

Import succeeds because of the issue resolved in NIFI-11039, but note that now two instances of FileParameterProvider were created, when the snapshot from registry only has one instance.



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