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

Replace handlers by observers for groups in mod_quiz

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.6
    • Fix Version/s: None
    • Component/s: Events API, Quiz
    • Labels:
    • Testing Instructions:
      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)
    • Affected Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-41559-master
    • Story Points:
      3
    • Sprint:
      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

              Assignee:
              fred Frédéric Massart
              Reporter:
              fred Frédéric Massart
              Peer reviewer:
              Ankit Agarwal Ankit Agarwal
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Tim Hunt, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: