Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-41133

Calculated questions: Wrong question if minus/plus sign has a blank after it

    XMLWordPrintable

    Details

    • 19 status:
      Verified
    • 12 status:
      Please Merge
    • Test Plan:
      Hide

      1. Create an assessment with the calculated question below:

      Question text: "{{x}} {a}"
      Var {a} => from -2 to -2
      (the right answer is -2)
      

      2. Publish the assessment.
      3. As student: take the assessment and type "- 2" as answer (blank after minus sign). Submit the assessment.
      4. As instructor: check the assessment grades. The answer has been graded as right.

      Show
      1. Create an assessment with the calculated question below: Question text: "{{x}} {a}" Var {a} => from -2 to -2 (the right answer is -2) 2. Publish the assessment. 3. As student: take the assessment and type "- 2" as answer (blank after minus sign). Submit the assessment. 4. As instructor: check the assessment grades. The answer has been graded as right.

      Description

      Steps to reproduce the issue:

      1. Create an assessment with the calculated question below:

      Question text: "{{x}} {a}"
      Var {a} => from -2 to -2
      (the right answer is -2)
      

      2. Publish the assessment.
      3. As student: take the assessment and type "- 2" as answer (blank after minus sign). Submit the assessment.
      4. As instructor: check the assessment grades. The answer has been graded as wrong.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                raulsv Raúl Sánchez Vegas
                Reporter:
                raulsv Raúl Sánchez Vegas
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code