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

Lesson due date user override is not deleted from calendar and myoverview upon unenrol

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.3
    • 3.3
    • Calendar, Lesson
    • MOODLE_33_STABLE
    • MOODLE_33_STABLE
    • MDL-58518-master
    • Hide

      Test 1

      1. Create a user
      2. Create two courses with a start date set to yesterday
      3. Enrol the user in both courses
      4. In course 1
        1. Create a lesson activity with a due date in the future
        2. Create a user override in the lesson for the user and set a different due date
      5. In course 2
        1. Create a lesson activity with a due date set to 3 weeks in the past
      6. Login as the user
      7. Confirm that you see the override event from course 1 in the overview block on the dashboard
      8. Confirm that you don't see the event from the lesson activity in course 2
      9. Confirm that you see the override event from course 1 in the calendar calendar
      10. Click the "sort by courses" button and confirm that:
        1. You see the override event from course 1 in the event list for course 1
        2. You don't see the lesson event for course two and instead you see a "no upcoming activities due" placeholder image
      11. Login as the teacher
      12. Unenrol the user from course 1 (the one with the override set)
      13. Log in as the user
      14. Confirm that you do not see the override event in the overview block on the dashboard
      15. Confirm that you do not see the override event in the calendar calendar
      Show
      Test 1 Create a user Create two courses with a start date set to yesterday Enrol the user in both courses In course 1 Create a lesson activity with a due date in the future Create a user override in the lesson for the user and set a different due date In course 2 Create a lesson activity with a due date set to 3 weeks in the past Login as the user Confirm that you see the override event from course 1 in the overview block on the dashboard Confirm that you don't see the event from the lesson activity in course 2 Confirm that you see the override event from course 1 in the calendar calendar Click the "sort by courses" button and confirm that: You see the override event from course 1 in the event list for course 1 You don't see the lesson event for course two and instead you see a "no upcoming activities due" placeholder image Login as the teacher Unenrol the user from course 1 (the one with the override set) Log in as the user Confirm that you do not see the override event in the overview block on the dashboard Confirm that you do not see the override event in the calendar calendar

      1. Create a lesson
      2. Create a user
      3. In user override, set a due date for the user
      4. Login as the user
      5. See the event in your calendar and on myoverview
      6. Login as the teacher
      7. Unenrol the user
      8. Log in as the user
      9. You can still see the event, even though it should be gone. If you try to click to the activity, you will get a message saying that you are not enrolled

      If reproduction is not possible, try enrolling the user in two groups first, and use two different group overrides for the due dates on the same lesson. Then unenrol the user.

            ryanwyllie Ryan Wyllie
            johno John Okely
            Adrian Greeve Adrian Greeve
            Jun Pataleta Jun Pataleta
            Ankit Agarwal Ankit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.