[OPEN] Updating a New Quiz via API unpublishes the quiz
Engineers are currently investigating the issue.
Description
When updating new quizzes via API. If the quiz is published and nobody has taken the quiz yet, the call processes correctly and updates the quiz however the call also results in the quiz being made unpublished.
If quiz has submissions and you attempt to alter settings of the New Quiz via API, no changes are made with the error: "workflow_state": "Can't unpublish if there are student submissions"
Same message is present when trying to alter the name or instructions of the quiz however the changes are saved, the above only affects the settings on the New Quiz.
Expected Behavior
The quiz should remain in the state it was, either unpublished or published when making an API request to make a change.
Workaround
No workaround exists at this time.
Steps to Reproduce
Prerequisite: Course with New Quizzes enabled.
-
Use the API call to create a new New Quiz or Create a quiz in UI.
-
Publish the New quiz
-
Use “Update a single quiz” API to update any quiz settings I.e result_view_settings, multiple_attempts_settings
-
Notice that the quiz has been unpublished and settings have been updated.
Additional Info
QUIZ-14373
Known issues indicate notable behaviors that have been escalated to the Canvas engineering team. Known issues are not a guarantee for an immediate resolution. This document is for informational purposes only and does not replace the Support process. If you are encountering the behavior outlined in this document, please ensure you have submitted a Support case (per your institution's escalation process) so Canvas Support can adequately gauge the overall customer impact and prioritize appropriately.