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

dml write exception when restoring 1.9 course in 2.1. when Lesson module contains essay questions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 2.1.1
    • Backup, Lesson
    • Debian 6 Squeeze, php 5.3.3
    • MySQL
    • MOODLE_21_STABLE
    • Hide

      Workaround:

      • in the same 2.1 course where restore failed add a new lesson activity
      • the lesson activity imported with restore appears

      However, we did not not test if the 'reappeared' lesson activity may have troubles or issue due to the previous dml exception.

      Show
      Workaround: in the same 2.1 course where restore failed add a new lesson activity the lesson activity imported with restore appears However, we did not not test if the 'reappeared' lesson activity may have troubles or issue due to the previous dml exception.

      issue related to restoring lessons activities form 1.9 to 2.1. The problem appears when lessons to be restored contains essay questions. Moodle 2.1.1+ (Build: 20110803).

      To reproduce the bug

      1. on a 19.13+ build Moodle 1.9.13+ (Build: 20110803) create a lesson activity with at least 1 essay question
      2. make a backup of the course without user data, selecting only the lesson activity
      3. access a Moodle 2.1 (2.1.1+ (Build: 20110803) and create a course
      4. upload and restore backup in the just created 2.1 course
      5. the restore ends with the mentioned dml exception error

            Unassigned Unassigned
            andreabix Andrea Bicciolo
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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