-
Improvement
-
Resolution: Not a bug
-
Minor
-
None
-
2.8.2
-
MOODLE_28_STABLE
-
MDL-48833-master -
- Do a exploratory test using the messaging system, send messages and make sure it works as expected.
- Get the nightly unit tests results, make sure this change doesn't break anything.
/lib/messagelib.php::message_send() accepts any type for param $eventdata but calls \core\message\manager::send_message() with same param but that method requires $eventdata type be \stdClass.
Which can cause an exception like:
Exception encountered in ...: Argument 1 passed to core\message\manager::send_message() must be an instance of stdClass, instance of notification given, ...
|
- will be (partly) resolved by
-
MDL-48212 Implement new message api to support specific text only on a given handler.
- Closed