Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.4.3, 2.4.4
-
Component/s: Quiz
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_24_STABLE
-
Fixed Branches:MOODLE_24_STABLE, MOODLE_25_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
When adding images to the Quiz Description, the client is finding that the images appear in the editor but after saving they do not appear when the student or the administrator run the quiz.
The issue appears to be related to Quiz Descriptions with images only (no text). When you add text the quiz description appears correctly, but if there is no text then the image section disappears completely. There is no missing image icon in the browser and no HTML where the description should be.
To test - login as administrator, and then create a quiz with a few sample questions and grades on an existing course.
Go to the start of the quiz, select Quiz administration, edit settings and start editing the description.
Insert an image by uploading a new .png image. DO NOT ADD ANY TEXT.
The image should be visible in the editor, so press "Save and Display"
Now at the front of the quiz, the image is missing. If you select view source on the browser, there is no HTML relating to the image whatsoever.
Now select Quiz Administration and Edit Settings and again edit the description. Add some text underneath the image and press "Save and Display".
Presto - the quiz description now appears.
Attachments
Issue Links
- is duplicated by
-
MDL-27744 Quiz intro does not display if it only contains tags.
-
- Closed
-