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.
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
Any file types that are accepted should upload without error.
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".