Pierre Villard created NIFI-15547:
-------------------------------------
Summary: Parameter Provider bundle version fallback not applied
during flow import
Key: NIFI-15547
URL: https://issues.apache.org/jira/browse/NIFI-15547
Project: Apache NiFi
Issue Type: Bug
Reporter: Pierre Villard
Assignee: Pierre Villard
When importing a flow (via upload, paste, or creating a versioned process
group) that references a Parameter Provider with a bundle version not available
in the system, NiFi fails to create the Parameter Provider even when only one
compatible version is available.
For processors and controller services, NiFi applies fallback logic via
discoverCompatibleBundles() to resolve to an available bundle version. However,
this method was not being called for Parameter Providers during flow import
operations in ProcessGroupResource.java.
Impact: Parameter Providers referenced in imported flows are not created when
their exact bundle version doesn't match, even though the component type is
available with a different version.
Fix: Add
serviceFacade.discoverCompatibleBundles(flowSnapshot.getParameterProviders())
calls alongside the existing
discoverCompatibleBundles(flowSnapshot.getFlowContents()) calls in the proper
code paths.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)