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

Literal asterisk (\*) in shortanswer question not handled correctly by get_correct_responses

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.7.4, 1.8.4, 1.9, 2.0
    • Component/s: Questions
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      Asterisk is a wildcard symbol in shortanswer question. The problem is with asterisk, that actually needs to apperar in answer. If I use simple asterisk, it accept any symbols; if I escape it (*) , moodle will expect literally this as an answer: *.

      I failed to find a way to include * without preceding backslash in an answer to the shortanswer question.

        Attachments

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            oa_sychev Oleg Sychev
            Tester:
            Nobody
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Jan/08