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

Messaging page breaks if a conversation exists from a deleted user

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 3.2.2
    • 3.2.1, 3.3
    • Messages

      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()

            markn Mark Nelson
            arvvns Arv Vns
            Damyon Wiese Damyon Wiese
            Dan Poltawski Dan Poltawski
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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