[
https://issues.apache.org/jira/browse/NIFI-16008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard resolved NIFI-16008.
-----------------------------------
Fix Version/s: 2.10.0
Resolution: Fixed
> 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
> Assignee: Arkadius Jonczek
> Priority: Major
> Fix For: 2.10.0
>
> 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)