[BUG] If Assignment ID Changes on Canvas after Config File is Pulled, Posting Will Fail #41
Labels
bug
Something isn't working
Module: Canvas
This issue relates to the Canvas API Wrapper
Module: Config
This issue relates to the Config module
Module: UI
This issue relates to UI
Description
Issue
If an assignment is recreated or moved, the ID on Canvas is not guaranteed to remain the same. Because of this, grading posting will fail with a 400 HTTP status code as the script has an outdated ID.
Steps to recreate
Solution
During assignment selection, the assignment should be verified to be writable on Canvas. If it is not, ask the user what to do: ignore the assignment, or reenter the id (Override the error). This relates to #37 and should use components from that system.
Acceptance Criteria
Ignore
andOverride
Ignore
option removes the assignment from the list of assignments to be graded.Override
option allows the user to enter the ID of the assignmentOverride
option causes config file to be updated (May need to move to separate issue)The text was updated successfully, but these errors were encountered: