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

CLOZE Questions imported from another course end up with broken image links

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2.7, 2.3.4
    • 2.2.2, 2.2.5, 2.3.2
    • Questions
    • MS-SQL 2008 R2, IIS 7.5, Windows 2008
    • Microsoft SQL
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • Hide

      Testing export + import of multianswer questions with images in text

      Create a few CLOZE type questions in a category of the question bank with some images in the question text. Warning: Don't put images in embedded multichoice subquestions answers as this is a separate issue (MDL-26511) not yet solved.
      Export this question's category using Moodle XML format.
      Import back the xml file into a new course, verify that questions display fine including the images both in preview and if you include them in a quiz.
      Open one of these questions for editing and verify the images are correctly displayed with a draft url.

      import of a file submitted by user

      import the quiz_sample_loco_moodle2.xml submitted 31/Oct/12 8:04 AM 125 kB attached to the present tracker issue by Paul Wray and verify you get 3 multianswer questions and that each one include an image both in preview and in editing (the image's name appear in bold above the image, this is not a bug).

      Show
      Testing export + import of multianswer questions with images in text Create a few CLOZE type questions in a category of the question bank with some images in the question text. Warning: Don't put images in embedded multichoice subquestions answers as this is a separate issue ( MDL-26511 ) not yet solved. Export this question's category using Moodle XML format. Import back the xml file into a new course, verify that questions display fine including the images both in preview and if you include them in a quiz. Open one of these questions for editing and verify the images are correctly displayed with a draft url. import of a file submitted by user import the quiz_sample_loco_moodle2.xml submitted 31/Oct/12 8:04 AM 125 kB attached to the present tracker issue by Paul Wray and verify you get 3 multianswer questions and that each one include an image both in preview and in editing (the image's name appear in bold above the image, this is not a bug).

      We have exported a question category which contains a few CLOZE type questions which contain images. When we import these questions into the new course, on the same server, the images appear as broken links. Images in other question types such as matching import correctly and work as expected. The only change in the URLs is the number after the word draft but this happens in both cases.

      CLOZE Question - give broken gif

      http://server/moodle/draftfile.php/10/user/draft/273773194/Bridge%20Rectifier%20Numbered%20With%20Ground%20Point.gif http://server/moodle/draftfile.php/10/user/draft/548034668/Bridge%20Rectifier%20Numbered%20With%20Ground%20Point.gif

      Matching Question - works correctly

      http://server/moodle/draftfile.php/10/user/draft/118530274/Figure%206.gif http://server/moodle/draftfile.php/10/user/draft/937713623/Figure%206.gif

            jmvedrine Jean-Michel Vedrine
            fweiss Fred Weiss
            Tim Hunt Tim Hunt
            Dan Poltawski Dan Poltawski
            Rajesh Taneja Rajesh Taneja
            Votes:
            1 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.