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

It is possible for old garbage data in the database to break the upgrade to 2.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.1
    • 2.1
    • Questions
    • MOODLE_21_STABLE
    • MOODLE_21_STABLE
    • Hide

      Create a 1.9 or 2.0 site. Create a quiz and some quiz attempts.

      Go into the database and delete some rows from quiz_attempts, without deleting the linked data in other tables.

      Upgrade to 2.1 and check it works.

      Show
      Create a 1.9 or 2.0 site. Create a quiz and some quiz attempts. Go into the database and delete some rows from quiz_attempts, without deleting the linked data in other tables. Upgrade to 2.1 and check it works.

      See the comments in MDL-27929.

      Old data in the database, that should have been deleted long ago, is breaking the upgrade.

      We need to add a step that cleans up the garbage before the main upgrade runs.

            timhunt Tim Hunt
            timhunt Tim Hunt
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Glenn Ansley Glenn Ansley
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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