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

Message history broken in HEAD

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Messages
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Notice: Undefined property: stdClass::$message in /home/tim/Workspace/moodle_head/message/lib.php on line 936

      Notice: Undefined property: stdClass::$format in /home/tim/Workspace/moodle_head/message/lib.php on line 936

      That is in function message_format_message() called from message/history.php, and possibly other places.

      With the new Events API based messaging, $message->message, $message->format are not set.

        Attachments

          Activity

            People

            Assignee:
            dougiamas Martin Dougiamas
            Reporter:
            timhunt Tim Hunt
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10