Version
v3
Severity
Medium
Suggested Priority
Low
Observed Behaviour
Entering a url that directs the user to a gig page where the id does not exist raises an exception. Since there are only 4 gigs at the moment, urls for gig pages ending in 1/2/3/4 are the only ones that should work.
/gigs/<id_does_not_exist_in_database>
Expected Behaviour
Since it is an invalid URL, it should present the user with a 404 not found page.
Reproduction Steps
- Run the app
- In browser, search http://127.0.0.1:5001/gigs/10
- OBSERVE
Version
v3
Severity
Medium
Suggested Priority
Low
Observed Behaviour
Entering a url that directs the user to a gig page where the id does not exist raises an exception. Since there are only 4 gigs at the moment, urls for gig pages ending in 1/2/3/4 are the only ones that should work.
/gigs/<id_does_not_exist_in_database>Expected Behaviour
Since it is an invalid URL, it should present the user with a 404 not found page.
Reproduction Steps