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

The \core\event\message_sent class should be passed the system context (for now).

XMLWordPrintable

    • MOODLE_27_STABLE
    • MOODLE_27_STABLE
    • MDL-44704_master
    • Hide
      Test 1
      1. Run "vendor/bin/phpunit message/tests/events_test.php" and ensure all passes.
      Test 2
      1. Log into a site that has at least two users.
      2. Click on your name to take you to your profile.
      3. Click on 'My profile' then 'Messages'.
      4. Send the user a message.
      5. Check that there is a 'message write' log entry at <yoursite>/report/log/index.php.
      Show
      Test 1 Run "vendor/bin/phpunit message/tests/events_test.php" and ensure all passes. Test 2 Log into a site that has at least two users. Click on your name to take you to your profile. Click on 'My profile' then 'Messages'. Send the user a message. Check that there is a 'message write' log entry at <yoursite>/report/log/index.php.
    • 3
    • BACKEND Sprint 12

      It was decided in SCRUM that we should be passing the system context when sending messages.

            markn Mark Nelson
            markn Mark Nelson
            Ankit Agarwal Ankit Agarwal
            Marina Glancy Marina Glancy
            Dan Poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.