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

Wrong courseid in mdl_scale on course restore

XMLWordPrintable

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

      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.

            stronk7 Eloy Lafuente (stronk7)
            schach Heiko Schach
            Nobody Nobody
            Votes:
            2 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.