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

Undefined property notice for $debugsmtp on outgoing mail config test page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Waiting for peer review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8
    • Fix Version/s: None
    • Component/s: Administration
    • Labels:
    • Testing Instructions:
      Hide

      With debugging on:

      1. Configure outbound mail (mailhog is fine)
      2. Go to the "Test outgoing mail configuration" page
      3. Send a test email to any address
      4. Verify you don't see a php notice on the page.
      Show
      With debugging on: Configure outbound mail (mailhog is fine) Go to the "Test outgoing mail configuration" page Send a test email to any address Verify you don't see a php notice on the page.
    • Affected Branches:
      MOODLE_38_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-66169-master

      Description

      With debugging on:

      • Configure outbound mail (mailhog is fine)
      • Go to the "Test outgoing mail configuration" page
      • Send a test email to any address
      • See the php notice:

        Undefined property: stdClass::$debugsmtp
        

      I suspect this is caused by the master-only change made in MDL-60347 (making that CFG var optional)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jaked Jake Dallimore
                Reporter:
                jaked Jake Dallimore
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 20 minutes
                  20m