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

mod_assign: Remove assignment submission not working when group mode is separate groups

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.7.6, 3.10
    • Fix Version/s: None
    • Component/s: Assignment
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a course and set Groups > Group mode = Separate groups and Force group mode = Yes
      2. Enrol 2 students and a teacher.
      3. Do not create any groups. Leave it empty.
      4. Turn editing on and add an assignment activity.
      5. Log in as student1 and submit an assignment (file submission).
      6. Log in as teacher, go to the assignment activity and click "View all submissions" button.
      7. Tick/select the tickbox for student1 in the table.
      8. Select "Remove submission" in the "With selected..." drop-down control.
      9. Press the "Go" button, and select "OK" when prompted with the dialogue "Remove selected submissions?".
        Results:
        Using 3.9dev+ (Build: 20200508) and 3.7.6 (Build: 20200511) - The message "The submission of Student 1 cannot be removed." is displayed.
        The submission of Student 1 cannot be removed.
      Show
      Create a course and set Groups > Group mode = Separate groups and Force group mode = Yes Enrol 2 students and a teacher. Do not create any groups. Leave it empty. Turn editing on and add an assignment activity. Log in as student1 and submit an assignment (file submission). Log in as teacher, go to the assignment activity and click "View all submissions" button. Tick/select the tickbox for student1 in the table. Select "Remove submission" in the "With selected..." drop-down control. Press the "Go" button, and select "OK" when prompted with the dialogue "Remove selected submissions?". Results: Using 3.9dev+ (Build: 20200508) and 3.7.6 (Build: 20200511) - The message "The submission of Student 1 cannot be removed." is displayed. The submission of Student 1 cannot be removed.
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_37_STABLE

      Description

      A teacher/admin is not able to remove assignment submissions when (there are no groups):

      1. Course setting: Groups > Group mode = Separate groups and Force group mode = Yes
      2. Assignment setting: Common Module Setting > Groups > Group mode = Separate groups.

      The teacher/admin receives the message: "The submission of Student 1 cannot be removed."

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jebarvia Joshua Ebarvia
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 10 minutes
                  10m