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

Calculated question saves empty values as null causing grading issues

    XMLWordPrintable

    Details

    • 20 status:
      Verified
    • Test Plan:
      Hide

      -Import the attached xml exam. It has four questions, the second question is a calculated question.

      -Publish the test and do it with an student. (password: test)

      -Answer the first MC question and save.

      -Go to the second question.

      -Save without writing anything.

      -Write the answer (9 * Q / d ^2).

      -Save and finish the exam.

      -Enter as instructor and look the Questions tab. There are two answers and, though the second is right and the green mark is applied, the grade is zero.

      Show
      -Import the attached xml exam. It has four questions, the second question is a calculated question. -Publish the test and do it with an student. (password: test) -Answer the first MC question and save. -Go to the second question. -Save without writing anything. -Write the answer (9 * Q / d ^2). -Save and finish the exam. -Enter as instructor and look the Questions tab. There are two answers and, though the second is right and the green mark is applied, the grade is zero.

      Description

      We have found some cases where saving an empty value in a calculated question stores a null value in the database. After that, a second answer can be submitted and is also stored. When the exam has finished, in the questions tab there are the two answers for the question: "No answer" (the null value) and the real answer. This real answer has the green/red mark correctly applied, but the points of the grade are not correctly applied.

      This doesn't happen in most of the calculated questions we have tested. It seems related to some other questions in the exam that somehow affect to the saving procedure of the calculated question.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                daniel.merino Daniel Merino Echeverría
                Reporter:
                daniel.merino Daniel Merino Echeverría
                Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration