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

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.6, 19.0, 20.0
    • Fix Version/s: 19.1, 20.0
    • Labels:
      None
    • 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

          Zeplin

            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 Integration