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

[BUG] DoesNotExist /timetable/data/modules #3058

Open
Feverfew opened this issue Dec 20, 2020 · 0 comments
Open

[BUG] DoesNotExist /timetable/data/modules #3058

Feverfew opened this issue Dec 20, 2020 · 0 comments
Labels

Comments

@Feverfew
Copy link
Contributor

Describe the bug
A clear and concise description of what the bug is.

To Reproduce

  1. uclapi.com/timetable/data/modules?department=UCLMS_MDS
  2. Notice 500 error

Expected behavior
Not crash

Additional context
DoesNotExist: CminstancesB matching query does not exist.
instance_data = cminstances.objects.get(instid=instid) ( timetable/app_helpers.py:143)
This occurs because instid=-1

@Feverfew Feverfew added the bug label Dec 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant