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

Double quotes breaking short answers in a multianswer/cloze question

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.6.4, 1.7.1, 1.8
    • 1.6.2
    • Quiz
    • None
    • Linux, PHP 5.0.4, MySQL 4.1.20, Apache 2.0.54, Moodle latest 1.6.2+
    • MOODLE_16_STABLE
    • MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE

      If double quotes character (ASCII character 34) is entered into a short answer field of a multianswer (cloze) question, and the answer is either submitted individually (using the adaptive mode) OR saved without submitting, then all characters following the first occurence of the double quotes are lost.

      Example:
      [SHORTANSWER FIELD]: It is called "love".

      • Save without submitting (1)
        [SHORTANSWER FIELD]: It is called \
      • Save without submitting (2)
        [SHORTANSWER FIELD]: It is called

      If the answer is submitted at once (not using adaptive mode or save without submitting feature), it is saved OK to the database and graded OK, but it appears damaged on the review page.
      Example:
      [SHORTANSWER FIELD]: It is called "love".

      • Submit all and finish
        [REVIEW: SHORTANSWER FIELD]: It is called \

            skodak Petr Skoda
            mixik Daniel Miksik (Inactive)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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