Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-41653

Student response in Matching and Multiple Choice questions with images shows HTML code instead of images

    XMLWordPrintable

    Details

    • 19 status:
      Verified
    • Test Plan:
      Hide
      1. Log in as an instructor and create an assessment that includes a matching question. The different options in this question must include images (see for example the first imatge attached in this issue)
      2. Now log in as a student and submit a response to this assessment. 
      3. Log in as an instructor and click on link in column "Submitted" to view the submitted assessment by the student. 
      4. In the submissions screen click on "Questions" button. 
      5. In the table containing all submissions, in "Student response" HTML code is shown instead of the corresponding image (as for example the second attached image in this ticket shows). A corrected view should show the image correspoding to student response.

      Same test plan for multiple choice questions switching to the CKEditor and putting images in the response.

      Show
      Log in as an instructor and create an assessment that includes a matching question. The different options in this question must include images (see for example the first imatge attached in this issue) Now log in as a student and submit a response to this assessment.  Log in as an instructor and click on link in column "Submitted" to view the submitted assessment by the student.  In the submissions screen click on "Questions" button.  In the table containing all submissions, in "Student response" HTML code is shown instead of the corresponding image (as for example the second attached image in this ticket shows). A corrected view should show the image correspoding to student response. Same test plan for multiple choice questions switching to the CKEditor and putting images in the response.

      Description

      In order to reproduce this issue an assessment must be created with a matching question in which options include images (as for example first image attached shows). 

      As a student submit a response to this assessment. 

      Then as instructor go to submitted assessments page and click on "Questions" option. 

      In the "Student response" field of the table with students submission instead of a preview of the image in the response HTML code is shown (as the second attached image shows, highlighted in blue)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                farreri Miguel Pellicer
                Reporter:
                mateu.llas Mateu Llas Rubio
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code