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

Problem restoring forums with wrong forum_read information

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.9.10
    • 1.9.12
    • Backup, Forum
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE
    • Moderate

    Description

      Following this comment:

      http://tracker.moodle.org/browse/MDL-15489?focusedCommentId=103770&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-103770

      and thanks to Stephen Martin for his collaboration, I was able to trace the problem of some "Restore fails: Could not restore modules" error caused by some forum_read records belonging to people not being part of the course (admins...).

      So I've introduced one small change to the restore in order to allow the process to continue by simply skipping that (orhpan) forum_read record, instead of returning error.

      Ciao

      Attachments

        Issue Links

          Activity

            People

              stronk7 Eloy Lafuente (stronk7)
              stronk7 Eloy Lafuente (stronk7)
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/May/11