Non-core contributed modules

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

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor 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.

Activity

Hide
Gordon Bateson added a comment -

Added fix to Moodle 1.6 -> 1.9, reset MERGED tags and modified HEAD too

Show
Gordon Bateson added a comment - Added fix to Moodle 1.6 -> 1.9, reset MERGED tags and modified HEAD too

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: