Text files associated with a programming language are not rendering in Speedgrader/Docviewer

Canvas

This behavior has been resolved and deployed to the production environment as of 5/21/24.

Description

Users are no longer able to preview text based files that are associated with a programming language within Speedgrader or Docviewer, for example .py or .cs files, instead they get a continous loading wheel when attempting to preview.

Expected Behavior

To be able to view the text files in Speedgrader.

Workaround

At this time changing the format to .txt will allow the system to render correctly.

Steps to Reproduce

  1. Create course

    1. Add users

  2. Create a file upload assignment

  3. As a student upload a text file that was created as a .cs file.

  4. In speedgrader

    1. The annotation options appear at the top of the screen but it continuously loads the document.

Additional Info

CAS-1788


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.

Labels (1)
Tags (1)