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

Replace handlers by observers for groups in mod_quiz

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.6
    • None
    • Events API, Quiz
    • MOODLE_26_STABLE
    • MDL-41559-master
    • Hide
      1. Create some groups (A, B), and add some users to the group
      2. Create a quiz with a close date set
      3. Add a group override of group A that removed the close date
      4. Attempt the quiz with 4 students:
        • 2 member of group A (let's call them M1, M2)
        • 2 not being in a group (let's call them M3, M4)
      5. Now add M3 to group A
        • Make sure M3 inherited the new override (no close date)
      6. Remove M1 from group A
        • Make sure M1 inherited the new override (now has a closed date)
      7. Delete group A
        • Make sure M2 inherited the new override (now has a closed date)
      Show
      Create some groups (A, B), and add some users to the group Create a quiz with a close date set Add a group override of group A that removed the close date Attempt the quiz with 4 students: 2 member of group A (let's call them M1, M2) 2 not being in a group (let's call them M3, M4) Now add M3 to group A Make sure M3 inherited the new override (no close date) Remove M1 from group A Make sure M1 inherited the new override (now has a closed date) Delete group A Make sure M2 inherited the new override (now has a closed date)
    • 3
    • BACKEND Sprint 5

    Description

      MDL-39958 has replaced the old events, but has not migrated the handlers to observers. This needs to be done.

      Attachments

        Issue Links

          Activity

            People

              fred Frédéric Massart
              fred Frédéric Massart
              Ankit Agarwal Ankit Agarwal
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Raquel Ortega, Sabina Abellan, Sander Bangma, Sara Arjona (@sarjona), Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: