Arkadius Jonczek created NIFI-16008:
---------------------------------------

             Summary: 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


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)

Reply via email to