benschaf / waste-schedule

This is a waste-management App with CRUD functionality. Never forget to take out your bins on time! Connect with your community and be Eco-Conscious together.
0 stars 0 forks source link

404 error when postcode is entered that is not in the database. #35

Closed benschaf closed 3 months ago

benschaf commented 3 months ago

Describe the bug when entering a valid but non existent postcode into the form on the landing page, a 404 error is displayed.

instead it should redirect to the schedule list page and display a note, that there is not yet a schedule for this postcode

To Reproduce Steps to reproduce the behavior:

  1. Go to 'landing page'
  2. Click on 'search and enter a random postcode'
  3. See 404 page

Expected behavior display a not found message within the schedule list page