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

Download Assignment(2.2) files as zip

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.2.5, 2.3.2
    • 2.2.6, 2.3.3
    • Assignment (2.2)
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • wip-mdl-35910
    • Hide

      Test 1
      – As a teacher create "advanced uploading of files" activity and set "Enabled send for marking" to No
      – As student upload file to this activity.
      – As teacher view submission and click "Download all assignments as a zip" (mod/assignment/submissions.php?id=

      {activity_id}&download=zip)
      – Make sure the file gets included in zip

      Test 2
      – As a teacher create "advanced uploading of files" activity
      – As student1 upload file to assignment but don't send it for marking.
      – As student2 upload file to assignment and send it for marking.
      – As teacher view submission and click "Download all assignments as a zip" (mod/assignment/submissions.php?id={activity_id}

      &download=zip)
      – Make sure files uploaded by student 2 are only included in zip
      – As student 1 send activity for marking
      – As teacher view submission again and click "Download all assignments as a zip" (mod/assignment/submissions.php?id=

      {activity_id}

      &download=zip)
      – Make sure files from student 1 and student 2 are included in zip.

      Show
      Test 1 – As a teacher create "advanced uploading of files" activity and set "Enabled send for marking" to No – As student upload file to this activity. – As teacher view submission and click "Download all assignments as a zip" (mod/assignment/submissions.php?id= {activity_id}&download=zip) – Make sure the file gets included in zip Test 2 – As a teacher create "advanced uploading of files" activity – As student1 upload file to assignment but don't send it for marking. – As student2 upload file to assignment and send it for marking. – As teacher view submission and click "Download all assignments as a zip" (mod/assignment/submissions.php?id={activity_id} &download=zip) – Make sure files uploaded by student 2 are only included in zip – As student 1 send activity for marking – As teacher view submission again and click "Download all assignments as a zip" (mod/assignment/submissions.php?id= {activity_id} &download=zip) – Make sure files from student 1 and student 2 are included in zip.

    Description

      The problem is with Assignment(2.2)- Advanced uploading of files.

      If "Enabled send for marking" button is No, then it is not possible to download submitted assignments as zip.
      All submitted assignments are missing the submitted flag from assignment_submissions table data2 field and therefore they are excluded from the zip generator.

      I think it should be possible to download the assignment files as zip even when the "Enabled send for marking" button is set No.

      Attachments

        Issue Links

          Activity

            People

              rajeshtaneja Rajesh Taneja
              t6nis20 Tõnis Tartes
              Dan Poltawski Dan Poltawski
              Michael de Raadt Michael de Raadt
              Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              15 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Nov/12