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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9
    • 1.7.4, 1.8.4, 1.9, 2.0
    • Questions
    • None
    • MOODLE_19_STABLE
    • 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

            timhunt Tim Hunt
            oa_sychev Oleg Sychev
            Nobody Nobody
            Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Jan/08