Skip to content
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

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

Comments

@alexchicano
Copy link

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:

  1. Use the Canvas LMS API to create a quiz with questions that include neutral comments via the neutral_comments field.
  2. Access the quiz from the UI and verify that the neutral comments are not visible.
  3. Export the quiz from Canvas and reimport it into the same course.
  4. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant