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

Error when attempting to view messaging recent conversations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.9
    • Component/s: Messages
    • Labels:
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-49960-master
    • Sprint:
      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

              Assignee:
              fred Frédéric Massart
              Reporter:
              tsala Helen Foster
              Peer reviewer:
              Ankit Agarwal
              Integrator:
              Dan Poltawski
              Tester:
              Dan Poltawski
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/May/15