[
https://issues.apache.org/jira/browse/NIFI-14471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18024153#comment-18024153
]
Mark Bean edited comment on NIFI-14471 at 10/3/25 4:00 PM:
-----------------------------------------------------------
This issue was reproduced on Apache NiFi and Registry 2.6.0.
It is an issue with the way default branch name is used in
NiFiRegistryFlowRegistryClient (which doesn't support branching) and another
client which does support branching and uses a branch name other than 'main'.
was (Author: markbean):
This issue can only be reproduced using GitLabFlowRegistryClient and
NiFiRegistryFlowRegistryClient. It was not observed when using the GitHub
client with NiFi Registry client.
Apache NiFi and Registry 2.6.0
> Cannot access NiFi Registry bucket when Git client is present
> -------------------------------------------------------------
>
> Key: NIFI-14471
> URL: https://issues.apache.org/jira/browse/NIFI-14471
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Mark Bean
> Priority: Major
>
> Configure NiFi with two Registry clients: NifiRegistryFlowRegistryClient and
> GitHubFlowRegistryClient. Ensure the name of the GitHub client comes first,
> alphabetically. Configure the GitHubFlowRegistryClient with a "Default
> Branch" other than "main".
> Now, attempt to import a flow from Registry using the
> NifiRegistryFlowRegistryClient. You may have to choose a Bucket for Flow
> other than the default which appears initially. The buckets/flows cannot be
> accessed and the following error message is displayed:
> Unable to obtain listing of flows for bucket with ID
> 2589c34e-1723-4f68-8115-b8d2fc49ee8a: Invalid branch, NiFi Registry client
> only supports the default branch 'main'
> or
> Unable to obtain listing of versions for bucket with ID
> 32dc3fad-323d-44ed-8126-d2d9a580641b and flow with ID
> 769af14b-eb3a-45a0-9c1c-27fb297ba025: Invalid branch, NiFi Registry client
> only supports the default branch 'main'
--
This message was sent by Atlassian Jira
(v8.20.10#820010)