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

Use filetype form element for workshop file type restrictions

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Automatic tests:

      1. Run behat tests for the @mod_workshop tag

      Manual tests: Check that the file types can be restricted in both places where Workshop
      supports them:

      • Submission attachments
      • Overall feedback attachments
      1. As a teacher, set up a workshop with file types of attachment restricted
      2. Let a student submit their work
      3. TEST: Check that when attaching a file to the submission, the file type obeys the defined restrictions.
      4. Allocate the student's work to be assessed by another student and move the Workshop into the assessment phase.
      5. TEST: Check that the reviewer can only attach files that obey the defined restrictions for the overall feedback attachments.
      6. As the teacher remove all the filetype restrictions
      7. Make sure the student can submit any file
      8. Make sure the reviewer can attach any file
      Show
      Automatic tests: Run behat tests for the @mod_workshop tag Manual tests: Check that the file types can be restricted in both places where Workshop supports them: Submission attachments Overall feedback attachments As a teacher, set up a workshop with file types of attachment restricted Let a student submit their work TEST: Check that when attaching a file to the submission, the file type obeys the defined restrictions. Allocate the student's work to be assessed by another student and move the Workshop into the assessment phase. TEST: Check that the reviewer can only attach files that obey the defined restrictions for the overall feedback attachments. As the teacher remove all the filetype restrictions Make sure the student can submit any file Make sure the reviewer can attach any file
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-56486-master-workshopfiletypes
    • Sprint:
      3.4 Sprint 2

      Description

      Merge together changes from MDL-53240 and MDL-50794

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mudrd8mz David Mudrák (@mudrd8mz)
                Reporter:
                marina Marina Glancy
                Peer reviewer:
                John Okely
                Integrator:
                Dan Poltawski
                Tester:
                Marina Glancy
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

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