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

Error when attempting to view messaging recent conversations

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.9
    • 2.9
    • Messages
    • MOODLE_29_STABLE
    • MOODLE_29_STABLE
    • MDL-49960-master
    • Hide
      1. Create a new user
      2. Login as that user
      3. Go to 'Messages > Recent conversations', make sure
        • ... there is no recent conversations
        • ... no error occur
      4. Send a message to another user
      5. Go back to Messages, then select "Recent conversations", make sure
        • ... you see a list of recent conversations
        • ... no error occur

      Alternatively, run the behat test message/recent_conversations

      Show
      Create a new user Login as that user Go to 'Messages > Recent conversations', make sure ... there is no recent conversations ... no error occur Send a message to another user Go back to Messages, then select "Recent conversations", make sure ... you see a list of recent conversations ... no error occur Alternatively, run the behat test message/recent_conversations
    • Team '; drop tables Sprint 6

    Description

      As found on http://qa.moodle.net/ when logged in as an admin or teacher - http://qa.moodle.net/message/index.php?user1=3&viewing=recentconversations

      Coding error detected, it must be fixed by a programmer: PHP catchable fatal error

      Debug info: Argument 1 passed to core_collator::asort_objects_by_property() must be of the type array, null given, called in [dirroot]/message/lib.php on line 801 and defined
      Error code: codingerror
      Stack trace:

      line 393 of /lib/setuplib.php: coding_exception thrown
      line 258 of /lib/classes/collator.php: call to default_error_handler()
      line 801 of /message/lib.php: call to core_collator::asort_objects_by_property()
      line 847 of /message/lib.php: call to message_get_recent_conversations()
      line 341 of /message/index.php: call to message_print_recent_conversations()

      Attachments

        Issue Links

          Activity

            People

              fred Frédéric Massart
              tsala Helen Foster
              Ankit Agarwal Ankit Agarwal
              Dan Poltawski Dan Poltawski
              Dan Poltawski Dan Poltawski
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/May/15