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

submission of no file is allowed in the single file upload assignment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • 2.1, 2.2
    • Assignment (2.2)
    • Any
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • Hide

      1. Create a single file upload assignment in a course test
      2. Log on into Moodle as a student
      3. Click on the assigmnent link from the course homepage
      4. Click on the "Upload a file" button
      5. Click on the "Save changes" button

      Result : the message "File uploaded successfully" appears and the submission is recorded in the assigment_submissions table of the database.

      Show
      1. Create a single file upload assignment in a course test 2. Log on into Moodle as a student 3. Click on the assigmnent link from the course homepage 4. Click on the "Upload a file" button 5. Click on the "Save changes" button Result : the message "File uploaded successfully" appears and the submission is recorded in the assigment_submissions table of the database.

      It is a regression from Moodle 1.9.
      Now, in Moodle 2.x (tested on 2.1 and 2.2), you can submit "no file" in a "Single file upload assignment".
      After clicking on the "Save changes" button, directly without selecting previously any file on your computer, you get a message telling you : "File uploaded successfully".
      The submission is considered as valid and is recorded in the assigment_submissions table of the database.

      The semantic of these feature is broken.
      A check must be done somewhere during the submission process and the user should be informed of any kind of problems.
      The submission must not be recorded if a problem occured

            moodle.com Moodle HQ
            evillard Eric Villard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.