Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.8.6, 2.9
-
Component/s: Book, Course, IMS-CP resource type
-
Testing Instructions:
-
Affected Branches:MOODLE_28_STABLE, MOODLE_29_STABLE
-
Fixed Branches:MOODLE_28_STABLE, MOODLE_29_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-50318-master-courseresources -
Pull Master Diff URL:
Description
Steps to reproduce
- Create an instance of a resource-like module, other than the mod_resource (File) itself. Any module declaring FEATURE_MOD_ARCHETYPE as MOD_ARCHETYPE_RESOURCE, such as the Book module, is affected (all but Label which is excluded from the overview page).
- Embed an image into the Description (intro) field of the module.
- Add the Activities block to the course
- Click the Resources item in the block to get to the page course/resources.php for that course.
Expected behaviour
The image is displayed in the desciption
Actual behaviour
The image source URL is broken, being hard-coded to be owned by the mod_resource plugin.