maproulette / maproulette/maproulette-backend
Can't create a Challenge due to existing deleted challenge with same name
Open
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 53
- Forks
- 39
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 12
Description
- 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"
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the challenge creation and soft-deletion sequence through the backend API, then trace the challenge creation and name-uniqueness handling. Done means creating a challenge with the same name after soft deletion succeeds without a 500 error, while the reported behavior for an existing active challenge remains clear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- api, backend, database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100