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

Question images lost during upgrade

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.2, 2.2.3
    • Fix Version/s: 2.1.7, 2.2.4
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide
      1. As administrator in Moodle 1.9.x, Create a Course
      2. Upload an Image to Site Files
      3. Add a question to the Default System Category
      4. Select the file uploaded
      5. Preview to see the question and image
      6. Backup Database and Moodle Data
      7. Complete Upgrade to Moodle 2.2.3
      8. Preview the question again and verify the image is still present, and now stored according to the File API.
      Show
      As administrator in Moodle 1.9.x, Create a Course Upload an Image to Site Files Add a question to the Default System Category Select the file uploaded Preview to see the question and image Backup Database and Moodle Data Complete Upgrade to Moodle 2.2.3 Preview the question again and verify the image is still present, and now stored according to the File API.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:

      Description

      We upgraded from Moodle 1.9 to 2.0.2.

      Images in all questions are lost. There used to be a filed in mdl_question table called 'image'. Now that filed is removed.

      I am unsure if some alternative arrangements were made before removing that filed or not.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  3 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    9/Jul/12