Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't create a Challenge due to existing deleted challenge with same name #1038

Open
atiannicelli opened this issue May 3, 2023 · 2 comments

Comments

@atiannicelli
Copy link

atiannicelli commented May 3, 2023

  • Create a challenge named "This is a test"
  • Then delete that challenge (soft) so it still shows up when you get a list of challenges from the project.
  • then try to create a challenge with the same name: "This is a test".

I get an error: 500
{
"status": "KO",
"message": "Challenge with name This is a test already exists in the database"
}

@rurseekatze
Copy link

Any news on this issue? I have the same problem.

Currently my (dirty) workaround is to add a single whitespace at the end of the challenge name. Also tried to change upper-/lower-case, but that didn't work as challenge names seem to be case insensitive.

@atiannicelli
Copy link
Author

I think there is a way to permanently delete the challenge, but it may take a day or so I think. I've just resolved to rename challenges that I'm going to delete BEFORE I delete them.

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

No branches or pull requests

2 participants