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

Problem restoring forums with wrong forum_read information

XMLWordPrintable

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

      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

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.