You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Neutral comments on questions do not appear when creating quizzes through the Canvas LMS API, but work correctly when the quiz is exported and imported.
#2433
Open
alexchicano opened this issue
Dec 6, 2024
· 0 comments
When using the Canvas LMS API to create or update quizzes and add neutral comments to the questions via the neutral_comments field, these comments do not appear on the quiz when viewed in the UI. However, if the quiz is exported and then reimported into the course, the neutral comments appear correctly. This suggests an issue with how the API is saving or updating this property.
Steps to reproduce:
Use the Canvas LMS API to create a quiz with questions that include neutral comments via the neutral_comments field.
Access the quiz from the UI and verify that the neutral comments are not visible.
Export the quiz from Canvas and reimport it into the same course.
Verify that the neutral comments now appear correctly in the questions.
Expected behavior:
Neutral comments should be visible on the questions immediately after being added via the API, without the need for export and import steps.
Actual behavior:
Neutral comments do not display when added through the API, but they appear correctly after the quiz is exported and reimported.
Additional notes:
This issue only occurs when using the API, as neutral comments work as expected when setting them directly in the UI or when using Canvas's export/import feature.
The text was updated successfully, but these errors were encountered:
Summary:
When using the Canvas LMS API to create or update quizzes and add neutral comments to the questions via the neutral_comments field, these comments do not appear on the quiz when viewed in the UI. However, if the quiz is exported and then reimported into the course, the neutral comments appear correctly. This suggests an issue with how the API is saving or updating this property.
Steps to reproduce:
Expected behavior:
Neutral comments should be visible on the questions immediately after being added via the API, without the need for export and import steps.
Actual behavior:
Neutral comments do not display when added through the API, but they appear correctly after the quiz is exported and reimported.
Additional notes:
This issue only occurs when using the API, as neutral comments work as expected when setting them directly in the UI or when using Canvas's export/import feature.
The text was updated successfully, but these errors were encountered: