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

Import of Quiz breaks links to image and audio files

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.7.2
    • None
    • Backup
    • None
    • MySQL
    • MOODLE_17_STABLE

    Description

      When importing a quiz from one course into another on the same site, the links to image files and audio files are broken. The image files and and audio files are properly copied and moved to the new course, but the links to the files are not updated.

      This is not a problem for the teacher or admin, because they have site-wide permissions to view files. However, students do not have permissions to view files outside of their own courses. Therefore students cannot hear the recordings and cannot see the images in the questions.

      Workaround: Manually update the HTML code for each quiz question and each link.

      • identify the course ID numbers of the source course and the destination course
      • open up the imported quiz, open up each quiz question item with an audio, video or image file link
      • delete the old course number in the link, and replace it with the new course number in the same place
      • then students are able to view and play the files in the quiz question

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              hinkelman Don Hinkelman
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski
              Votes:
              17 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: