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

"Download all submissions" includes drafts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.7, 2.8
    • Fix Version/s: None
    • Component/s: Assignment
    • Labels:
      None
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE

      Description

      Steps:

      1. Create an assignment with at least online text or file submission, and set "Require students click submit button" to yes.
      2. As a student add a submission and submit it.
      3. As a different student add another submission, but don't submit it.
      4. As a teacher go to the assignment's "View/grade all submissions" submissions page.
      5. Select "Download all submissions" in the Grading action drop-down.

      Expected result:

      • Zip download with one submission file (the submitted one).

      Actual result:

      • Zip download with both submission files.

      NB: This also applies when there only draft assignments, in which case the "Download all submissions" option should not be available.

      To maintain backwards compatibility, rather than changing the behaviour of the existing "Download all submissions", it's label could be changed to "Download all submissions (including drafts)", and a new option that behaves as expected added as "Download all submissions (excluding drafts)".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                balchd Dave Balch
                Participants:
                Component watchers:
                Damyon Wiese, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: