Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-40318

Images not appearing in Quiz Description

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.3, 2.4.4
    • Fix Version/s: 2.4.6, 2.5.2
    • Component/s: Quiz
    • Labels:

      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

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              brianlmerritt Brian Merritt
              Integrator:
              Damyon Wiese
              Tester:
              David Monllaó
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Sep/13