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

Forum emails being sent with mnet idp rewritten links when mnet is disabled/user is not a roaming user

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.9.4
    • 1.9.5, 2.0
    • Forum, MNet
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE

    Description

      We've received various reports of site being sent forum emails with the mnet idp bounce to send them back to their own site (where they then get told mnet is disabled).

      Pretty sure this is due to a bad mnethostid check in email_to_user in lib/moodlelib.php:

      if ($user->mnethostid > 1) {

      And manifests itself where SITEID is no longer 1...

      Going to do some more testing then fix in CVS

      Attachments

        Activity

          People

            poltawski Dan Poltawski
            poltawski Dan Poltawski
            Tim Hunt Tim Hunt
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              13/May/09