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

Create event for framework 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

      go on a competency framework page
      Go to Administration > Reports > Logs
      Check you have "Standard logs" in the field before button "Get these logs".
      Click on the button "Get these logs".
      You must see information indicating that the competency framework was viewed.

      • Run the unitTest:

        mdk phpunit -r -s tool_lp_testsuite
        

      Show
      go on a competency framework page Go to Administration > Reports > Logs Check you have "Standard logs" in the field before button "Get these logs". Click on the button "Get these logs". You must see information indicating that the competency framework was viewed. Run the unitTest: mdk phpunit -r -s tool_lp_testsuite
    • Affected Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-52710_master
    • Story Points:
      0.5
    • Sprint:
      CBE Sprint 4, CBE Sprint 5

      Description

      This issue will create 1 event:

      • \tool_lp\event\framework_viewed

      This event needs to be triggered in the views that display the framework. As Ajax, and WS, do not access the page directly a new WS function needs to be created to trigger the event remotely. See mod_book_view_book for example.

      I would say that the only view we have displaying the framework so far is competencies.php.

      The event needs to be tested.

        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:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: