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

Additional events for badges

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1, 3.2
    • Fix Version/s: 3.2
    • Component/s: Badges, Events API
    • Labels:
    • Testing Instructions:
      Hide

      Manual Testing:
      Perform some exploratory testing, ensure the following are logged:

      • Viewing available course badges
      • Viewing available site badges
      • Viewing badges that you have been awarded
      • Viewing badges awarded to other users (Manage Badges -> click on badge name -> Recipients -> click on 'view issued badge')
      • Create a backup of the course and restore it (including logs). Make sure the logs are properly restored and display correctly in the course reports.

      Automated testing:

      • Run phpunit for badges.
      Show
      Manual Testing: Perform some exploratory testing, ensure the following are logged: Viewing available course badges Viewing available site badges Viewing badges that you have been awarded Viewing badges awarded to other users (Manage Badges -> click on badge name -> Recipients -> click on 'view issued badge') Create a backup of the course and restore it (including logs). Make sure the logs are properly restored and display correctly in the course reports. Automated testing: Run phpunit for badges.
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Epic Link:
    • Pull Master Branch:
      MDL-55239_m32v1

      Description

      This is to follow up from MDL-45734
      We should add a few more events related to badges:

      • Badge viewed (For when a student views an awarded badge)
      • Badge listing viewed (For when a student views that list of available badges)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sbourget Stephen Bourget
              Reporter:
              sbourget Stephen Bourget
              Peer reviewer:
              Ryan Wyllie
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Jake Dallimore
              Participants:
              Component watchers:
              Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                5/Dec/16