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

notice while seeing debug info of mail sending output

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • 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

      while an email update about assignment being submitted is sent out,
      the debug of the mail sending process throws out this notice:

      Notice: Undefined property: stdClass::$component in /home/aparup/mcode/m20/dev1/moodle/lib/messagelib.php on line 96 Call Stack: 0.0002 660856 1.

      {main}() /home/aparup/mcode/m20/dev1/moodle/mod/assignment/view.php:0 0.1825 35971488 2. assignment_online->view() /home/aparup/mcode/m20/dev1/moodle/mod/assignment/view.php:51 0.2629 43650208 3. assignment_base->email_teachers() /home/aparup/mcode/m20/dev1/moodle/mod/assignment/type/online/assignment.class.php:71 0.9530 45935104 4. message_send() /home/aparup/mcode/m20/dev1/moodle/mod/assignment/lib.php:1746 Notice: Undefined property: stdClass::$name in /home/aparup/mcode/m20/dev1/moodle/lib/messagelib.php on line 96 Call Stack: 0.0002 660856 1. {main}

      () /home/aparup/mcode/m20/dev1/moodle/mod/assignment/view.php:0 0.1825 35971488 2. assignment_online->view() /home/aparup/mcode/m20/dev1/moodle/mod/assignment/view.php:51 0.2629 43650208 3. assignment_base->email_teachers() /home/aparup/mcode/m20/dev1/moodle/mod/assignment/type/online/assignment.class.php:71 0.9530 45935104 4. message_send() /home/aparup/mcode/m20/dev1/moodle/mod/assignment/lib.php:1746

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nebgor Aparup Banerjee
              Reporter:
              nebgor Aparup Banerjee
              Tester:
              Nobody
              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