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

the count of an assignment's number of submissions includes unenrolled users.

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create an assignment in a course with at least 2 students manually enrolled (Set "Require students click submit" to No)
      2. Login as each student of the 2 students and make a submission to the assignment
      3. Login as a teacher and view the assignment.
      4. Verify the grading summary shows 2 next to "Needs grading"
      5. Delete the enrolment for one of the students
      6. Verify the grading summary shows 1 next to "Needs grading"
      7. Grade the remaining student
      8. Verify the grading summary shows 1 next to "Submitted"

      2.3 Only test

      1. From the assignment grading page choose "Download all submissions" from the course settings menu.
      2. Verify that the downloaded submissions do not include submissions for the unenrolled user

      2.4 Only test

      1. Create a new assignment in course with no groups and "Students submit in teams" enabled and "Require students click submit" disabled
      2. View the front page of the assignment.
      3. Verify that there is no row for "Needs grading" (This does not make sense for group assignments).
      4. Login as a student and make a submission to the assignment
      5. Login as a teacher and verify that the grading summary for the assignment has 1 in the "Submissions" row.
      Show
      Create an assignment in a course with at least 2 students manually enrolled (Set "Require students click submit" to No) Login as each student of the 2 students and make a submission to the assignment Login as a teacher and view the assignment. Verify the grading summary shows 2 next to "Needs grading" Delete the enrolment for one of the students Verify the grading summary shows 1 next to "Needs grading" Grade the remaining student Verify the grading summary shows 1 next to "Submitted" 2.3 Only test From the assignment grading page choose "Download all submissions" from the course settings menu. Verify that the downloaded submissions do not include submissions for the unenrolled user 2.4 Only test Create a new assignment in course with no groups and "Students submit in teams" enabled and "Require students click submit" disabled View the front page of the assignment. Verify that there is no row for "Needs grading" (This does not make sense for group assignments). Login as a student and make a submission to the assignment Login as a teacher and verify that the grading summary for the assignment has 1 in the "Submissions" row.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-36263-master

      Description

      The grading summary page for an assignment shows the number of submissions but include submission of users who are now unenrolled from the course. I suggest a similar fix to http://tracker.moodle.org/browse/MDL-35533

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

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