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

Restoring 1.9 backup with questions shared at the system or category level loses images

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.1.6, 2.2.3
    • Fix Version/s: None
    • Component/s: Backup, Questions
    • Labels:
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE

      Description

      This problems was found while working on MDL-26892.

      Steps to reproduce:

      1. In Moodle 1.9, create a course with a quiz.

      2. As admin, go into the question bank for the quiz, and create a question in the 'Default for system' part of the question bank. Include some images in the question, but embedded in the question text, and also using the 'image' field.

      3. Add the question to the quiz.

      4. Backup the course.

      5. Restore the course into Moodle 2.x.

      6. Verify that the images in the question are now stored using the Moodle file API, and that they have not been lost.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jmvedrine Jean-Michel Vedrine
              Reporter:
              timhunt Tim Hunt
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: