UI: Resubmit an archived workflow does not keep labels #6129
Labels
area/ui
area/workflow-archive
good first issue
Good for newcomers
solution/suggested
A solution to the bug has been suggested. Someone needs to implement it.
type/bug
Summary
From an archived workflow, click on "Resubmit" in the UI
The created workflow do not have the appropriate labels
/!\ the bug happens only for archived workflows (when you resubmit a "normal" workflow, the labels are kept)
Be cautious, some labels should not be copied (like workflows.argoproj.io or workflows.argoproj.io/phase)
however, the labels placed manually by the user should be duplicated
rational : labels are used to search workflows, so if they do not have labels they do not appear in search results anymore ...
I am not sure to consider bug or enhancement ...
root cause : when you resubmit an archived workflow, the UI is different from a normal workflow (in archive, you use a YAML where the labels are not preloaded whereas in normal it is just asking a confirmation)
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.
The text was updated successfully, but these errors were encountered: