[
https://issues.apache.org/jira/browse/NIFI-16008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18087828#comment-18087828
]
ASF subversion and git services commented on NIFI-16008:
--------------------------------------------------------
Commit 000db6dbc9a2f0f23e39015eeff50b41bc00c1ff in nifi's branch
refs/heads/main from Arkadius Jonczek
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=000db6dbc9a ]
NIFI-16008 Check commit sha string in registerFlowSnapshot() (#11321)
> Missing check of GitRepositoryClient.createContent() result breaks process
> group state when using version control with custom git flow registry client
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-16008
> URL: https://issues.apache.org/jira/browse/NIFI-16008
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Arkadius Jonczek
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In `registerFlowSnapshot()` of the `AbstractGitFlowRegistryClient` the check
> for the result of the `repositoryClient.createContent()` call is missing.
> While writing a custom git flow registry client for Cloudogu (which is using
> SCM-Manager) I ran into an issue while returning an empty string instead of
> the expected commit SHA hash.
> The expected behaviour should be that an error will be thrown instead of
> using an empty version string for the `VersionedFlowCoordinates`.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)