Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 3.2.1, 3.3
-
Fix Version/s: 3.2.2
-
Component/s: Messages
-
Testing Instructions:
- Ensure all unit tests are passing.
-
Affected Branches:MOODLE_32_STABLE, MOODLE_33_STABLE
-
Fixed Branches:MOODLE_32_STABLE
-
Epic Link:
-
Pull from Repository:
-
Pull Master Branch:
MDL-57967_master -
Pull Master Diff URL:
Description
User messages shows error window if user had messages from deleted user.
This started just in 3.2.1 version before was fine.
Debug info: SELECT id FROM
{user} WHERE id = ? AND deleted = ?
[array (
0 => '9186',
1 => 0,
)]
Error code: invaliduser
Stack trace:
line 1526 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
line 1502 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
line 6188 of /lib/accesslib.php: call to moodle_database->get_record()
line 282 of /user/lib.php: call to context_user::instance()
line 203 of /message/classes/helper.php: call to user_get_user_details()
line 182 of /message/classes/helper.php: call to core_message\helper::show_online_status()
line 497 of /message/classes/api.php: call to core_message\helper::create_contact()
line 108 of /message/index.php: call to core_message\api::get_conversations()
Attachments
Issue Links
- is a regression caused by
-
MDL-57370 Notifications and messages nav popovers slow or unresponsive
-
- Closed
-