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

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3.1, 2.3.2
    • Fix Version/s: 2.3.4
    • Component/s: Assignment
    • Labels:
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
      git@github.com:damyon/moodle.git
    • Pull Master Branch:
      MDL-35963-master

      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

              • Votes:
                8 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Jan/13