When creating exam, ensure (in validation), verify flow ID is valid
Open
- Dominant language
- Python
- Stars
- 435
- Forks
- 124
- Avg merge
- 5h 40m
- Merged PRs (30d)
- 14
Description
At the very least, we should check that the flow ID is a valid identifier, otherwise `/list-available-exams/` will fail with a server error, unable to reverse the URL pattern. As a nicety for users, we could also check that the flow ID resolves within the course.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the exam-creation validation flow and the /list-available-exams/ endpoint, which currently fails when the flow ID cannot be used to reverse its URL. Verify that invalid identifiers are rejected before creation, and check whether the ID resolves within the course as an additional validation condition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100