Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-58919

No default for Assignment 'Accepted file types' option

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. As admin:
        1. Visit: Site administration > Plugins > Activity modules > Assignment > Submission plugins >File submissions
        2. Add some MIME types to the "Default accepted file types", and Save changes.
        3. In a course, add an assignment and enable File submissions.
        4. Confirm that the "Accepted file types" setting contains the MIME types you added in step 2.
        5. Add/remove a MIME type in the "Accepted file types" setting, and save the assignment.
      2. As a student (optionally):
        1. Attempt to upload a file type not in the MIME type list - this should be rejected.
        2. Attempt to upload a file type which is in the list - this should be accepted.
      3. On Moodle 3.1 or earlier create an assignment with file submission and backup the course
      4. Restore this course on integration, check assignment settings, the filetypes should be empty (means any file is allowed) and not populated with the default value set above
         

       

      Show
      As admin: Visit: Site administration > Plugins > Activity modules > Assignment > Submission plugins >File submissions Add some MIME types to the "Default accepted file types", and Save changes. In a course, add an assignment and enable File submissions. Confirm that the "Accepted file types" setting contains the MIME types you added in step 2. Add/remove a MIME type in the "Accepted file types" setting, and save the assignment. As a student (optionally): Attempt to upload a file type not in the MIME type list - this should be rejected. Attempt to upload a file type which is in the list - this should be accepted. On Moodle 3.1 or earlier create an assignment with file submission and backup the course Restore this course on integration, check assignment settings, the filetypes should be empty (means any file is allowed) and not populated with the default value set above    
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-58919-master

      Description

      It would (I think) be one thing that could benefit from a default setting. Possibly even an option to enforce the setting site-wide. 

      I am thinking particularly of institutions that have a policy to have submissions in a typical format. In particular, if you don't have working unoconv (does anybody? ) then it would be especially useful to be able to force pdf submissions. Or at least have it as a default so that teachers creating Assignments don't forget.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Nov/17