Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Unable to re-save newly created workflows / actions #352

Closed
Kami opened this issue Apr 24, 2019 · 1 comment · Fixed by #355
Closed

Unable to re-save newly created workflows / actions #352

Kami opened this issue Apr 24, 2019 · 1 comment · Fixed by #355
Milestone

Comments

@Kami
Copy link
Member

Kami commented Apr 24, 2019

If I use st2flow to create a new workflow, initial click on "save" button will work fine, but subsequent ones will fail with "Error saving workflow.: Tried to save duplicate unique keys (E11000 duplicate key error collection: st2.action_d_b index: uid_1 dup key: { : "action:fixtures:dsada1" })".

I believe that is related to us not populating internal action PK / ID field (or similar) when saving the workflow for the first time and so this data doesn't get sent along with subsequent save requests so it fails with a non-unique error (instead of updating an existing action, it tries to create a new one).

I believe this is a blocker because it means I can't work on new workflows "incrementally".

Screenshot from 2019-04-24 14-51-19

@Kami Kami added this to the 3.0.0 milestone Apr 24, 2019
@LindsayHill
Copy link
Contributor

Probably same as #274

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants