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

Shortanswer resonses should be trimmed before being saved in the database

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8.2
    • 1.8.3, 1.9
    • Questions
    • None
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

    Description

      Shortanswer questions are marked with leading and trailing whitespace stripped off. Therefore, student reposes should be trimmed before they are stored in the database.

      We had a student express concern because they seemed to have been marked right for a question they had left blank. In fact, they must have leant on their keyboard, because their answer was hundreds of spaces, then the right answer, so the answer box appeared blank. This is too confusing.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Nobody Nobody
            Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Oct/07