Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.6.4, 2.7.1
-
MOODLE_26_STABLE, MOODLE_27_STABLE
-
MOODLE_26_STABLE, MOODLE_27_STABLE
-
MDL-46620-master -
Description
The fix in MDL-42214 made it so message that are from blocked users are automatically marked as read during login.
The problem is that message_mark_message_read must be passed a full message, but the optimized sql passes an abbreviated message object, without the actual message body, loosing key info (the full message body, message time, etc).