[
https://issues.apache.org/jira/browse/NIFI-14625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard resolved NIFI-14625.
-----------------------------------
Fix Version/s: 2.5.0
Resolution: Fixed
> Pasting PG under version control with missing registry client causes issues
> ---------------------------------------------------------------------------
>
> Key: NIFI-14625
> URL: https://issues.apache.org/jira/browse/NIFI-14625
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 2.4.0
> Reporter: Bryan Bende
> Assignee: Bryan Bende
> Priority: Major
> Fix For: 2.5.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Copy a version controlled PG from one nifi instance to another and the PG
> will show on the canvas with a ? since the registry client id does not exist
> on the second instance. NiFi UI is still usable and you could perform Stop
> Version Control on the PG (if a registry client exists), but while in this
> state the overall flow.json is failing to save and if you continue making
> changes on the canvas and NiFi restarts, all those changes will be lost
> including the pasted PG. The logs will repeatedly print...
> ERROR [Flow Service Tasks Thread-2] o.a.nifi.controller.StandardFlowService
> Unable to save flow controller configuration java.lang.IllegalStateException:
> Process Group refers to a Flow Registry with ID <id> but no Flow Registry
> exists with that ID. Cannot resolve to a URL. at
> org.apache.nifi.registry.flow.mapping.NiFiRegistryFlowMapper.applyVersionControlInformation(NiFiRegistryFlowMapper.java:186)
> at
> org.apache.nifi.registry.flow.mapping.NiFiRegistryFlowMapper.lambda$mapProcessGroup$1(NiFiRegistryFlowMapper.java:170)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)