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

enrol_meta error during upgrade from 1.9 to 2.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.2
    • Component/s: Course
    • Labels:
      None
    • Environment:
      Windows, Apache, MySQL
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      During an upgrade from 1.9.10 to Moodle 2.0 I get an error during the enrol_meta upgrade process that says "Can not find data record in database table course" (see screen shot).

      If I flush out the table mdl_meta prior to the upgrade it works fine but obviously I have no child courses or enrolments.
      If I ignore the error then the upgrade continues but meta functionality does not work even though it's enabled in the Moodle 2.0 enrolment settings. I can then not select this as a plugin.

      At this stage I'm not sure where it's failing or what the error message means. My upgrade has over 3000 meta courses, could this be the issue?

        Attachments

          Activity

            People

            • Assignee:
              skodak Petr Skoda
              Reporter:
              lewiscarr Lewis Carr
              Tester:
              Dongsheng Cai
              Participants:
              Component watchers:
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                21/Feb/11