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

Gradebook: Deleting a score cell will automatically set the cell to be zero

    XMLWordPrintable

    Details

    • 20 status:
      Verified
    • Test Plan:
      Hide

      Test 1

      1. # As an instructor, set the gradebook in the "Settings" to be;: point grades, display released Gradebook items to students, display assignment statistics to students, display course grade statistics, and no categories
      2. Create a gradebook item and enter a valid score for a student and check whether the course grade is updated.
      3. Click this score cell with newly entered grade and press "delete" to delete the content in the score cell.
      4. Check whether the course grade is updated.

      Expected Behavior: The score cell becomes empty and the course grade will be updated without taking this score cell into calculations.

      Current Behavior: The score cell becomes empty and the course grade will be updated as if this score cell had a value of 0.

      Test 2

      1. Enter a grade that is less than 1, but do not use a leading zero (ie. enter something like .1)
      2. Confirm the score is saved and the course grade updates correctly
      Show
      Test 1 # As an instructor, set the gradebook in the "Settings" to be;: point grades, display released Gradebook items to students, display assignment statistics to students, display course grade statistics, and no categories Create a gradebook item and enter a valid score for a student and check whether the course grade is updated. Click this score cell with newly entered grade and press "delete" to delete the content in the score cell. Check whether the course grade is updated. Expected Behavior : The score cell becomes empty and the course grade will be updated without taking this score cell into calculations. Current Behavior : The score cell becomes empty and the course grade will be updated as if this score cell had a value of 0. Test 2 Enter a grade that is less than 1, but do not use a leading zero (ie. enter something like .1) Confirm the score is saved and the course grade updates correctly

      Description

      Given the gradebook settings include point grades, display released Gradebook items to students, display assignment statistics to students, display course grade statistics, and no categories: in 20.x and 21.x

      When an instructor enters a valid score into a score cell and then deletes the contents in the score cell by clicking the cell once and press "delete" on the keyboard, the score cell becomes empty, but the course grade will be updated as if the score became 0. (See the first screenshot)

      This issue only appears in 20.x and 21.x. In 19.x nightly server, if the user does the above actions, the score cell becomes empty and the course grade will be updated as if the score was not set at all, i.e., as if it were "-". (See the second screenshot) This should be the expected behavior because when an instructor user deletes a score cell, it doesn't mean a zero score, but means an unset score.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  plukasew Paul Lukasewych
                  Reporter:
                  fyin2 Fangcong Yin
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration