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

Possible to submit an empty file picker to Assigment and have it count as submission

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.3.1, 2.3.2
    • 2.3.4
    • Assignment
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • git@github.com:damyon/moodle.git
    • MDL-35963-master
    • Hide
      1. Create an assignment that accepts online text submissions (and nothing else)
      2. Login as a student and attempt to submit empty text ('')
      3. Check that you receive a notification that "Nothing was submitted" and the submission is not accepted.
      4. Enter some text and save the submission
      5. The submission should be saved
      1. Create an assignment that accepts file submissions (and nothing else)
      2. Login as a student and attempt to submit without uploading any files
      3. Check that you receive a notification that "Nothing was submitted" and the submission is not accepted.
      4. Upload a file and save the submission
      5. The submission should be saved
      1. Create an assignment that accepts online text submissions and file submissions
      2. Login as a student and attempt to submit empty text ('') and no files
      3. Check that you receive a notification that "Nothing was submitted" and the submission is not accepted.
      4. Upload a file and save the submission
      5. The submission should be saved
      Show
      Create an assignment that accepts online text submissions (and nothing else) Login as a student and attempt to submit empty text ('') Check that you receive a notification that "Nothing was submitted" and the submission is not accepted. Enter some text and save the submission The submission should be saved Create an assignment that accepts file submissions (and nothing else) Login as a student and attempt to submit without uploading any files Check that you receive a notification that "Nothing was submitted" and the submission is not accepted. Upload a file and save the submission The submission should be saved Create an assignment that accepts online text submissions and file submissions Login as a student and attempt to submit empty text ('') and no files Check that you receive a notification that "Nothing was submitted" and the submission is not accepted. Upload a file and save the submission The submission should be saved

    Description

      To reproduce...

      • create an Assignment activity only allowing file uploads
      • add a student to the course as required
      • login as that student
      • go to the assignment upload page.
      • do not drag-and-drop a file, do not select a file. Simply click 'Save changes'. The submission is accepted

      The student is now marked as having submitted a file without actually having submitted a file.

      Attachments

        Issue Links

          Activity

            People

              damyon Damyon Wiese
              howardsmiller Howard Miller
              Sam Hemelryk Sam Hemelryk
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              8 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Jan/13