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

Updating a grade stores the total point value as the sorting value instead of the percentage

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 20.0, 21.0 [Tentative]
    • Fix Version/s: 20.1, 21.0 [Tentative]
    • Component/s: Gradebook
    • Labels:
      None
    • 20 status:
      Verified
    • Test Plan:
      Hide
      1. Create a site with two students and one gradebook item worth 10 points
      2. Give the first student 4/10 and the second student 7/10
      3. Reset the tool
      4. Give the second student 8/10
      5. Sort on course grade, confirm that the order is correct both asc/desc
      6. Reset the tool and sort on course grade again, confirm the order is still correct
      7. Repeat the tests using other scenarios such as using course grade overrides, blank course grades, etc. Add more students to the site as required.
      Show
      Create a site with two students and one gradebook item worth 10 points Give the first student 4/10 and the second student 7/10 Reset the tool Give the second student 8/10 Sort on course grade, confirm that the order is correct both asc/desc Reset the tool and sort on course grade again, confirm the order is still correct Repeat the tests using other scenarios such as using course grade overrides, blank course grades, etc. Add more students to the site as required.

      Description

      When the gradebook loads, it stores the percentage value for each course grade separately for the purposes of sorting. When a grade is updated, the total points earned are stored in this location instead. This results in incorrect sorting until the full page is refreshed.

      For example, if the gradebook contains one item worth 10 points, a student with 80% will have 80 as the sorting value. If you then change their grade for that item from 8 to 9, the sorting value for their course grade becomes 9 instead of the expected value of 90. When sorting on the course grade in descending order, even students with 10% as their course grade will appear before this student.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                plukasew Paul Lukasewych
                Reporter:
                plukasew Paul Lukasewych
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration