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

Embedded Answers (Cloze) question type - SHORT ANSWER: Illegal two character sequences such as ~}, %#, ~~, etc.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6, 3.7
    • Fix Version/s: None
    • Component/s: Questions, Quiz
    • Labels:
      None

      Description

       
      With SHORTANSWSER, the teacher should not have any of the following two-character sequences in the answer: %#   %~  %}   %=   =#   =%   =}   =~   ~#   ~} and  ~~, because there should be no empty answers or empty answer options. However, the teacher may inadvertently write these sequences.

      Problem

      The problem is that validation treats these two-characters sequences as if the second character were escaped* and thus gives unexpected results. The teacher may have trouble understanding what is happening.

       * This can be considered as a bug.

      What is expected

      • Identify these two-character sequences and interpret them as empty answers.
      • Give the following message: "The sequence %# (or %~, etc.) is illegal, an answer can not be empty."

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dbauer-ets Dominique Bauer
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: