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

1.9 question with question.image pointing to a subfolder of course files will not import into 2.x

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.2
    • 2.0.7, 2.1.4
    • Questions
    • MOODLE_21_STABLE
    • MOODLE_20_STABLE, MOODLE_21_STABLE
    • Hide

      See format.php.patch in attachments for quick and dirty workaround for /var/www/moodle/question/format/xml/format.php

      PS. Patch was made against $release = '2.1.2+ (Build: 20111012)'; $version = 2011070102.02

      Show
      See format.php.patch in attachments for quick and dirty workaround for /var/www/moodle/question/format/xml/format.php PS. Patch was made against $release = '2.1.2+ (Build: 20111012)'; $version = 2011070102.02
    • Hide

      1. Create a subfolder under Files in 1.9.x and place an image into it
      2. Create a quiz and a question of any type that uses the image from subfolder.
      3. Export the quiz in 'moodle xml' format.
      4. Import exported xml file in 2.x and view.

      Show
      1. Create a subfolder under Files in 1.9.x and place an image into it 2. Create a quiz and a question of any type that uses the image from subfolder. 3. Export the quiz in 'moodle xml' format. 4. Import exported xml file in 2.x and view.

    Description

      Exported ('moodle xml' format) questions from 1.9.x with images (those saved in subfolders of course files 'repo') is incorrectly importing into 2.x

      Attachments

        Activity

          People

            timhunt Tim Hunt
            dketov Dmitry Ketov
            Tim Hunt Tim Hunt
            Sam Hemelryk Sam Hemelryk
            Rossiani Wijaya Rossiani Wijaya
            Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9/Jan/12