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

Problem with guest account restore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.1
    • Component/s: Backup
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      From Thomas Robb MDL-7903:
      I have found the problem. For some reason, when I restored a course to my new 1.8, the guest userid from the backup course replaced the default one with userid = 2. I ended up with the guest userid = 2032, and more importantly, the mnethostid field was blank rather than containing the default value of "1". This caused the "login_use" function in auth/plugin/auth.php to fail.

      So, perhaps there is a separate bug that needs to be filed. Restoring a course should NOT touch either userid 1 or 2!

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stronk7 Eloy Lafuente (stronk7)
              Reporter:
              skodak Petr Skoda
              Tester:
              Nobody
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Jun/07