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

Create C(R)UD events for competency frameworks

    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

      Create a competency framework.
      Edit it and modify any field.
      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 framework was created and updated.
      Got back to Competency framework and duplicate it.
      Delete the first framework created.
      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 a new framework was created.
      You must see information indicating that the first framework was deleted.

      Show
      Create a competency framework. Edit it and modify any field. 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 framework was created and updated. Got back to Competency framework and duplicate it. Delete the first framework created. 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 a new framework was created. You must see information indicating that the first framework was deleted.
    • Affected Branches:
      MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-52709_master
    • Story Points:
      3
    • Sprint:
      CBE Sprint 4

      Description

      This issue will create 3 events:

      • \tool_lp\event\framework_created
      • \tool_lp\event\framework_updated
      • \tool_lp\event\framework_deleted

      From the top of my head I don't see any information to place in other.

      Those events should be triggered anywhere where a framework is created, updated, or deleted, if the code is well structured this should be 3 API methods.

      Tests are required for each event. See events_test.php files.

      Documentation: https://docs.moodle.org/dev/Event_2#Properties

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sergeg55 Serge Gauthier
                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, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: