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

Wrong courseid in mdl_scale on course restore

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.12, 1.9.8
    • 1.8.13, 1.9.9
    • Backup, Gradebook
    • None
    • PostgreSQL
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

    Description

      Today we restored a course from a 1.6.9 site to a 1.9.8 site.
      First we disabled user data for forums as mentioned in MDL-15489 in order not to get a "Could not restore modules!" error.
      After the restore the grade book was ok, but the course scales didn't show up.
      In fact the course scales were visible in a completely different course, the course with the same course id on the target site.
      This is due to a wrong courseid in mdl_scale. For some reason the original course id was not replaced with the new course id on the target site.

      Attachments

        Activity

          People

            stronk7 Eloy Lafuente (stronk7)
            schach Heiko Schach
            Nobody Nobody
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8/Jun/10