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
Move Canvas assignments into the DB #2527
Comments
Unlike in non-Canvas LMS's, in Canvas at the time when the user is creating an assignment and they select the assignment's document there is no LTI assignment ID ( lms/lms/models/module_item_configuration.py Lines 31 to 32 in 0115967
Instead we are going to have to generate our own unique ID for the assignment and save that both in the DB and in the LTI launch params. We will have to submit a launch URL like this to Canvas: So this means that we have to both:
We better namespace the query param name ( The first time an assignment is launched (after having been created) we do receive the This is crucial for course copy. When a user copies a Canvas course all the Hypothesis assignments get copied into the new course and the new copies of the assignments get new Fortunately the assignment's launch URL gets copied into the new assignment un-modified, complete with Slack thread: https://hypothes-is.slack.com/archives/C4K6M7P5E/p1621249716149100?thread_ts=1620901832.105300&cid=C4K6M7P5E |
Canva's assignments currently store all their configuration on the LTI launch URL as query params.
Follow the same pattern as other's LMS assignments and create/update/upsert a row in
ModuleItemConfiguration
per assignment.This might be partially achieved by: #2769
The text was updated successfully, but these errors were encountered: