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

Create event for user competency viewed

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: Competencies
    • Labels:
    • Testing Instructions:
      Hide
      1. Go to the course competencies page
      2. Click on a competency
      3. Go to Site administration ► Reports ► Logs, click on "Get these logs" and check that the information indicating that the user competency was viewed in course.
      4. Go to Home / ► Dashboard / ► Profile and click on "Learning plans"
      5. In the plans list page, click on an active plan containing competencies
      6. Click on a competency
      7. Go to Site administration ► Reports ► Logs, click on "Get these logs" and check that the information indicating that the user competency was viewed in plan.
      8. Go to Home / ► Dashboard / ► Profile and click on "Learning plans"
      9. In the plans list page, click on a complete plan containing competencies
      10. Click on a competency
      11. Go to Site administration ► Reports ► Logs, click on "Get these logs" and check that the information indicating that the user competency plan was viewed.
      12. Go to the "Competency Breakdown" and click on link in Rating column
      13. Go to Site administration ► Reports ► Logs, click on "Get these logs" and check that the information indication that the user competency was viewed in course.

      Run the unitTest

      mdk phpunit -r -s tool_lp_testsuite
      

      Show
      Go to the course competencies page Click on a competency Go to Site administration ► Reports ► Logs, click on "Get these logs" and check that the information indicating that the user competency was viewed in course. Go to Home / ► Dashboard / ► Profile and click on "Learning plans" In the plans list page, click on an active plan containing competencies Click on a competency Go to Site administration ► Reports ► Logs, click on "Get these logs" and check that the information indicating that the user competency was viewed in plan. Go to Home / ► Dashboard / ► Profile and click on "Learning plans" In the plans list page, click on a complete plan containing competencies Click on a competency Go to Site administration ► Reports ► Logs, click on "Get these logs" and check that the information indicating that the user competency plan was viewed. Go to the "Competency Breakdown" and click on link in Rating column Go to Site administration ► Reports ► Logs, click on "Get these logs" and check that the information indication that the user competency was viewed in course. Run the unitTest mdk phpunit -r -s tool_lp_testsuite
    • Affected Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-53189_master
    • Story Points:
      2
    • Sprint:
      CBE Sprint 6

      Description

      This event will be trigger when a user competency is viewed, whether in a course, a plan or by itself.

      • When it is viewed in a plan (or completed plan), the other field will contain the plan ID.
      • When it is viewed in a course, the context will be the course context.
      • Else, it is viewed by itself.

      Don't forget to add the record snapshot.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                taboubii Issam Taboubi
                Reporter:
                fred Frédéric Massart
                Peer reviewer:
                Frédéric Massart
                Participants:
                Component watchers:
                Damyon Wiese, Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: