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

Essay: Answer invisible

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • 1.9.5
    • Quiz
    • None
    • MySQL
    • MOODLE_19_STABLE

      In an Essay questions in a quiz, URLs are part of the student“s answer. Often, when the URL appears at the end of a line, the URL and all text after the URL is not shown in the grading window (i.e., only a fraction of the answer is shown).

      Tthe answer *is*correctly stored in the database. The data stored in the DB looks, for example, like that (from SQL query):

      Link: http://www.somesite.com/index.html<br />Some more text

      The grading window only shows: "Link: ", nothing more. The same happens if the students review their submission.

      Less serious problem (related or not?): The full anwer, albeight corrupted, is shown in the "Item analysis" window. It seems that Moodle tries to replace the URL in the answer with a http link, and handles the <br/> in a wrong way. The answer that is shown there is as follows:

      Link: http://www.somesite.com/index.html
      />
      Some more text

      Or, to show the complete HTML source:

      Link: <a href="http://www.somesite.com/index.html%3Cbr" target="_blank">http://www.somesite.com/index.html<br></a> /&gt;<br>Some more text

            timhunt Tim Hunt
            hansreiser reiser@cs.fau.de (Inactive)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.