Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Can't request grades for professors with hyphenated last names #224

Open
js0mmer opened this issue Mar 12, 2023 · 0 comments
Open

Can't request grades for professors with hyphenated last names #224

js0mmer opened this issue Mar 12, 2023 · 0 comments

Comments

@js0mmer
Copy link
Member

js0mmer commented Mar 12, 2023

Looking at the grades for COMPSCI 121, we can see data for sections with Krone-Martins and Gago-Masague with their instructor names listed as "KRONE MARTINS, A." and "GAGO MASAGUE, S.". If you try to request raw grade data for each instructor though using those exact strings, you get a syntax error.

Example:
Request to /grades/raw?instructor=KRONE%20MARTINS,%20A.
Response:

{"timestamp":"Sun, 12 Mar 2023 22:46:58 GMT","status":400,"error":"Bad Request: Invalid syntax in parameters","message":"Invalid syntax found in parameters. Exception occurred at 'KRONE MARTINS, A.' in the [instructor] query value"}

Making a request to /grades/raw?instructor=KRONE-MARTINS,%20A. doesn't work either and returns an empty array.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant