cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Submitting Studio media through the Studio tab for file restricted assignments throws invalid file type error

Submitting Studio media through the Studio tab for file restricted assignments throws invalid file type error

Canvas white logo

This behavior is resolved in the 2021-09-29 deploy.

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

 

When adding Studio media as a submission for assignments with the File Upload submission type enabled and file extensions restricted, an error is thrown stating "Invalid submission file type" after embedding the video.

After receiving the error, students can still submit and the Studio media will be submitted to the assignment without any problems.

Expected Behavior

 

Since the assignment is a file upload type that restricts submission types we shouldn’t allow studio to bypass the file restriction options so student submit what is required.

It's worth noting that Google Drive and Dropbox both respect the file restrictions when set.

Workaround


No workaround exists at this time.

Steps to Reproduce


Prerequisites: Published course with a student enrollment that has media in Studio.

  1. Create an assignment with the 'Online' submission type enabled, the 'File Upload' option checked, and the option to restrict file extensions enabled (the file extensions that are restricted doesn't seem to matter).

  2. As a student select the 'New Attempt' button at the top right of the assignment page, select the Studio tab, and choose a video to submit.

  3. Click the embed button on the window that appears and notice the error at the top of the page stating that the submission file type is invalid.

  4. Submit the assignment after the error appears and notice the submission still goes through without any problems.

 

Additional Info


EVAL-1871

Tags (1)