Skip to content

v3: User entering URL to a non-existent gig page raises an exception #17

Description

@romeenrg

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>

Image

Expected Behaviour

Since it is an invalid URL, it should present the user with a 404 not found page.

Image

Reproduction Steps

  1. Run the app
  2. In browser, search http://127.0.0.1:5001/gigs/10
  3. OBSERVE

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions