-
Bug
-
Resolution: Fixed
-
Minor
-
2.6.4, 2.7.1
-
MOODLE_26_STABLE, MOODLE_27_STABLE
-
MOODLE_26_STABLE, MOODLE_27_STABLE
-
When you add a image to the description of an external tool (mod_lti) and set 'Display Activity description when launched' to on, when viewing the actual activity the href's for the images are emitted as:
http://wwwroot/mod/lti/@@PLUGINFILE@@/DSCN8289.JPG
Appears the intro text is not being run through the standard function used to transform those magic placeholders (@@PLUGINFILE@@).
Replication steps:
- Click 'Add an activity or resource' from the course page
- Choose ‘External tool’ and click add
- Enter an Activity Name
- Click "Show more..." to expand the advanced settings
- Edit the Activity Description and insert an image an emoticon using the editor’s functionality.
- Check 'Display description on course page'
- Check 'Display Activity description when launched'.
- Click Save and Display
- Return to the course page
Expected: You can see the image you uploaded when the activity is displayed and on the course page.
Actual: The image displays on the course page, but when viewing the activity itself, you see no image and your browser inspector will show that it tried to load a url with @@PLUGINFILE@@ in it.
- has been marked as being related by
-
MDL-46536 Invalid OAuth Signature error when LTI activity intro contains inconsistent newline characters
-
- Closed
-