usgo / agagd

American Go Association Games Database (AGAGD)
https://agagd.usgo.org
MIT License
47 stars 30 forks source link

"404" and "405" Error on Player "vs" page #123

Closed michaelhiiva closed 2 years ago

michaelhiiva commented 4 years ago

Summary of the Bug

"404 Resource Not Found" or "HTTP ERROR 405" when player id has no match ups against current player.

Steps to Reproduce the Behaviour

404 Error

  1. Go to player page: https://agagd.usgo.org/player/15932/.
  2. Enter 50 in the box for "Find matchups of Heitmann, Ray against AGA ID#"

405 Error

  1. Go to player page directly: https://agagd.usgo.org/player/15932/vs/ without entering a player id.

The Expected Behaviour

Player "vs" page does not return a 404 error but instead returns an error indicating there are no match ups found with the current player.

Screenshots

404 Error - https://agagd.usgo.org/player/15932/vs/

image

405 Error - https://agagd.usgo.org/player/15932/vs/

image

michaelhiiva commented 2 years ago

We no longer have this page. This should be addressed in #241.