What happened:
When calling the updateChaosExperiment mutation and passing in the same experiment name that the experiment already had, an error is thrown, stating that it's a duplicate name.
What you expected to happen:
The mutation should work as usual with no changes to the experiment name.
Where can this issue be corrected? (optional)
In chaoscenter/graphql/server/pkg/chaos_experiment/handler/handler.go, there is logic to catch duplicate experiment names in UpdateChaosExperiment, but it throws an error even if the duplicate experiment name belongs to the original experiment.
How to reproduce it (as minimally and precisely as possible):
Call updateChaosExperiment mutation with the experiment name field as the experiment's existing name.
Anything else we need to know?: