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

"Download all as a zip" contains submissions from unenroled students

    Details

    • Database:
      Any
    • Testing Instructions:
      Hide

      Prerequisite

      1. Assignment 2.2 should be enabled.
      2. Go to Site administration ► Plugins ► Activity modules ► Manage activities and enable Assignment 2.2

      Test

      1. Create course with assignment 2.2 (online text/upload a single file)
      2. Enrol 3 students (S1, S2, S3)
      3. As S1 submit an assignment
      4. As S2 submit an assignment
      5. As S3 submit an assignment
      6. As teacher go to assignment and 'download all as zip' assignments.
      7. You should only see all assignment (from s1, s2 & s3) in zip file.
      8. unenrol S1 from the course
      9. As teacher go to assignment and 'download all' assignments.
      10. You should only see two assignment (from s2 & s3) in zip file.
      Show
      Prerequisite Assignment 2.2 should be enabled. Go to Site administration ► Plugins ► Activity modules ► Manage activities and enable Assignment 2.2 Test Create course with assignment 2.2 (online text/upload a single file) Enrol 3 students (S1, S2, S3) As S1 submit an assignment As S2 submit an assignment As S3 submit an assignment As teacher go to assignment and 'download all as zip' assignments. You should only see all assignment (from s1, s2 & s3) in zip file. unenrol S1 from the course As teacher go to assignment and 'download all' assignments. You should only see two assignment (from s2 & s3) in zip file.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:
      wip-mdl-30144

      Description

      While unenrolled students do not appear on the assignment grading list, their submissions are going to be added to the 'Download all' zip file. This is inconsistent behaviour and probably should be resolved. Either all submitted assignments should be displayed, whether students are enrolled or not, OR assignments from unenrolled students are not added to the 'Download all as a zip' archive.

      Replication steps:

      1. a student enrols to a course
      2. the student submits an assignment
      3. the student unenrols from the course
      4. lecturer uses 'download all' option - assignment of an unenrolled student is there even though student is not on the list.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  9 Vote for this issue
                  Watchers:
                  13 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/Mar/13