Uploading comments to an assignment via the API randomly results in the comments not being shown on SpeedGrader, but no error is recorded via the request. The comments do upload and are available through the download comments button but do not show.
Steps to reproduce:
Use the REST API to post comments to student assignments (note: I was also posting marks to rubric criteria - no comments or ranking there and only comments to the submission). This was done in a small batch of 17.
Randomly, comments for some students will not show on the SpeedGrader view. They are successfully uploaded and can be seen using the download comments button in SpeedGrader, as well as in the gradebook sidebar preview.
Despite being able to manually add a comment via SpeedGrader to the affected students (which does show), the posted comments do not show even after adding a manual one. Removing all comments via the markbook page and retrying does not result in a visible comment. This issue affects about 30% of the comments posted.
Expected behavior:
Comments that are successfully posted will all be visible in SpeedGrader.
Actual behavior:
Randomly, some comments will only be visible via the gradebook sidebar.
Summary:
Uploading comments to an assignment via the API randomly results in the comments not being shown on SpeedGrader, but no error is recorded via the request. The comments do upload and are available through the download comments button but do not show.
Steps to reproduce:
Expected behavior:
Comments that are successfully posted will all be visible in SpeedGrader.
Actual behavior:
Randomly, some comments will only be visible via the gradebook sidebar.
Additional notes:
This issue appears to have persisted for several years See the posts on this page relating to the same issue, but not from using the API: SpeedGrader Comments Not Showing (Download Only) Error Updating