cancel
Showing results for 
Search instead for 
Did you mean: 

Submitting text-based files to file extension restricted assignments results in error when Assignment Enhancements is enabled

Submitting text-based files to file extension restricted assignments results in error when Assignment Enhancements is enabled

Canvas white logo

This change was noted in  Canvas Deploy Notes (2021-04-14) - Canvas Community

 

Known issues indicate notable behaviors that has 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.
Description

 

With Assignment Enhancements enabled and file extension restrictions enabled, some accepted text-based file extensions result in an error stating "error updating submission draft". eg. cpp, py, rb, js, and html

Expected Behavior


Any file types that are accepted should upload without error.

Workaround


Select the file from your personal files when submitting.

Steps to Reproduce

 

Pre-requisites: Published course with one student enrolled. Assignment Enhancements feature option enabled.

  • Create an assignment with the File Upload submission type.
  • Check the option to "Restrict Upload File Types" and enter the file extensions you want accepted (I tested with cpp, py, rb, js, and html), then save and publish the assignment.
  • Masquerade as the student in the course and attempt to upload one of the accepted text-based files. Notice that you receive an error stating "error updating submission draft".

 

Additional Info


INTEROP-6616

Labels (2)
Labels