Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3386

importing questions from HotPot file does not correctly convert urls of image files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.11
    • Fix Version/s: None
    • Component/s: Module: HotPot
    • Labels:
      None
    • Environment:
      Moodle >= 1.6
    • Database:
      Any
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      Relative URLs are not correctly converted to absolute URLs when importing questions from a HotPot file that contains an image within a subfolder of the course files folder.

      Issue first raised in the following HotPot forum thread:

      Fix requires modification to "question/format/hotpot/format.php" to detect $qformat->realfilename if it is available.

        Attachments

          Activity

            People

            Assignee:
            xxxxxxx Gordon Bateson
            Reporter:
            xxxxxxx Gordon Bateson
            Participants:
            Component watchers:
            Gordon Bateson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: