You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Kevin Doran (JIRA)" <ji...@apache.org> on 2019/02/19 13:58:00 UTC
[jira] [Updated] (NIFIREG-228) Cannot delete a flow with no
versioned snapshots
[ https://issues.apache.org/jira/browse/NIFIREG-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Doran updated NIFIREG-228:
--------------------------------
Description:
I have not verified/reproduced this yet. This bug reported on stack overflow:
https://stackoverflow.com/questions/54744738/cannot-delete-a-flow-in-nifi-registry-via-http-call-when-using-git-as-storagei
If saving an initial flow version fails, a flow can be created with no versioned flow snapshots. (The flow has {{"versionCount": 0}}).
When tying to delete this flow using {{DELETE /buckets{bucketId}/flows/{flowId}}}, it fails with a 409.
The workaround is to save a dummy flow snapshot to get the flow to version 1 and then the entire flow can be deleted.
The fix is that such flows (flows without versions) should be deletable.
was:
I have not verified/reproduced this yet. This bug reported on stack overflow:
[https://stackoverflow.com/questions/54744738/cannot-delete-a-flow-in-nifi-registry-via-http-call-when-using-git-as-storagei/54749567#54749567]
If saving an initial flow version fails, a flow can be created with no versioned flow snapshots. (The flow has {{"versionCount": 0}}).
When tying to delete this flow using {{DELETE /buckets{bucketId}/flows/{flowId}}}, it fails with a 409.
The workaround is to save a dummy flow snapshot to get the flow to version 1 and then the entire flow can be deleted.
The fix is that such flows (flows without versions) should be deletable.
> Cannot delete a flow with no versioned snapshots
> ------------------------------------------------
>
> Key: NIFIREG-228
> URL: https://issues.apache.org/jira/browse/NIFIREG-228
> Project: NiFi Registry
> Issue Type: Bug
> Reporter: Kevin Doran
> Priority: Minor
>
> I have not verified/reproduced this yet. This bug reported on stack overflow:
> https://stackoverflow.com/questions/54744738/cannot-delete-a-flow-in-nifi-registry-via-http-call-when-using-git-as-storagei
> If saving an initial flow version fails, a flow can be created with no versioned flow snapshots. (The flow has {{"versionCount": 0}}).
> When tying to delete this flow using {{DELETE /buckets{bucketId}/flows/{flowId}}}, it fails with a 409.
> The workaround is to save a dummy flow snapshot to get the flow to version 1 and then the entire flow can be deleted.
> The fix is that such flows (flows without versions) should be deletable.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)