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

Assignment due date does not update for group selection

    XMLWordPrintable

Details

    • MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
    • MOODLE_36_STABLE, MOODLE_37_STABLE
    • master_MDL-65116
    • Hide

      A) To be executed before-patch (last weekly release, without this patch applied).

      0. As admin or editing teacher...

      1. Create a course (better with some existing enrolled users ) and create an assignment

      2. Go to the course and then go to the All Participants. then click the edit button on the top right and find the Groups

      3. Next, create a group, then auto-create groups and add a new grouping and remember this newly added group.

      4. Go back to the assignment created, edit it and then set the due date. (remember it, COURSEDUEDATE)

      5. Go to group override and set another due date for the group created (remember it, GROUPDUEDATE)

      6. Go back to assignment view page [http://localhost/mod/assign/view.php?id=[assignmentid]&group=[groupid]] and select separate groups select box between options "All Participants" and "Group" we created in step 3. We should see there is no different due date even we have set another due date in group override. COURSEDUEDATE is displayed. that's the bug.

      B) To be executed after-patch (current branch checkout applied)

      7 Go back to assignment view page in step 6, if you are a user who can view grades, should be able to switch groups and see the different due date (GROUPDUEDATE ) for the group. That's the fix

      Show
      A) To be executed before-patch (last weekly release, without this patch applied). 0. As admin or editing teacher... 1. Create a course (better with some existing enrolled users ) and create an assignment 2. Go to the course and then go to the All Participants. then click the edit button on the top right and find the Groups 3. Next, create a group, then auto-create groups and add a new grouping and remember this newly added group. 4. Go back to the assignment created, edit it and then set the due date. (remember it, COURSEDUEDATE) 5. Go to group override and set another due date for the group created (remember it, GROUPDUEDATE) 6. Go back to assignment view page [http://localhost/mod/assign/view.php?id=[assignmentid]&group=[groupid]] and select separate groups select box between options "All Participants" and "Group" we created in step 3. We should see there is no different due date even we have set another due date in group override. COURSEDUEDATE is displayed. that's the bug. B) To be executed after-patch (current branch checkout applied) 7 Go back to assignment view page in step 6, if you are a user who can view grades, should be able to switch groups and see the different due date (GROUPDUEDATE ) for the group. That's the fix

    Description

      when you have an assignment with a group mode of "Seperate Groups" or "Visible Groups" with group overridden due date, when you filter for the group with the override, the due date on assignment overview page ([http://localhost/mod/assign/view.php?id=[assignmentid]&group=[groupid]]) does not update.

      To reproduce:
      1. Create a course (better with some existing enrolled users ) and create an assignment
      2. Go to the course and then go to the All Participants. then click the edit button on the top right and find the Groups

      3. Next, create a group, then auto-create groups and add a new grouping and remember this newly added group.

      4. Go back to the assignment created, set the due date in edit page, then set the due date

      5. Go to group override and set another due date for the group created.

      6. Go back to assignment view page [http://localhost/mod/assign/view.php?id=[assignmentid]&group=[groupid]] and select separate groups select box between options "All Participants" and "Group" we created in step 3. We should see there is no different due date even we have set another due date in group override

      Attachments

        1. Group Override.mp4
          4.62 MB
        2. image-2019-08-29-10-14-09-394.png
          image-2019-08-29-10-14-09-394.png
          118 kB
        3. MDL-65116.mp4
          1.51 MB

        Issue Links

          Activity

            People

              yao9394 John Yao
              yao9394 John Yao
              Dmitrii Metelkin Dmitrii Metelkin
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Janelle Barcega Janelle Barcega
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Sep/19

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 50 minutes
                  1h 50m