usgo / agagd

American Go Association Games Database (AGAGD)

Home Page:https://agagd.usgo.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

michaelhiiva opened this issue · comments

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

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