Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle invalid subject event when subject contains no nodes in a particular year #106

Open
AnimeAllstar opened this issue Oct 21, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@AnimeAllstar
Copy link
Owner

If we generate the subject graph for STAT and limit courses to year 1 (https://www.ubsee.dev/subject/STAT?year=1), we get an Invalid Subject error because no year 1 stat courses exist. This should be handled differently. Preferable another error type like 'No courses for query: STAT, year 1' or something like that.

@AnimeAllstar AnimeAllstar added the bug Something isn't working label Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant