This repository has been archived by the owner on Apr 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Canvas API may return duplicate courses #174
Labels
Comments
It was mentioned on #176 that we might want to move the code from get_lti_tabs out one more level and only call this once. |
This one is not yet finished. We could probably bump it with #162 to the next release but I think it could be finished by itself tomorrow. I've never seen any case where there were duplicate courses returned as part of this process. |
I believe because of chances of this happening are low and the entire process should be changed in #162 I'm going to close this for now. Doing this would require:
This should all be refactored into one place to populate the courses table so it can be used by future classes. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Today, the two jobs in OpenShift failed because of duplicate
course
primary keys, for different courses. This appears to be unexpected API behavior from theaccount/{account_id}/courses
endpoint, as I don't believe this has happened before. Still, we should likely modify the existing code todrop_duplicates
and note how many courses were dropped, so we can avoid this error while also monitoring API anomalies.The text was updated successfully, but these errors were encountered: