Gradebook override is not applying in course-v1:UQx+BUSLEAD5x+2T2019

Description

Impact: Instructors were blocked from giving learners intended scores.

I've been able to reproduce the issue in the course; I couldn't reproduce it in a separate test course.

To reproduce:
Note: I've reproduced and documented on one test account (EJPirog). The course team has also given us permission to reproduce on the account (Kathleen_Duffy). Do not update any other grades.

1. On course gradebook, click the "0%" under EjPirog / Interview 01 https://gradebook.edx.org/course-v1:UQx+BUSLEAD5x+2T2019
2. Enter a reason and the grade "28". Save grade.

3. Expect: Grade is now 28%.
Observe: Grade remains 0%, despite the validation message green.

4. Click on the 0% again.
Expect: "Adjusted grade" should be out of a potential 30 points.
Observe: Adjusted grade" is out of 0 points.

5. Go to learner progress page, view as EjPirog. https://courses.edx.org/courses/course-v1:UQx+BUSLEAD5x+2T2019/progress.
Expect: Learner has 28/30.
Observe: Learner has 28/0.

I ran Deen's very helpful query and confirmed that after this update, the possible_all_override field is 0; which is not expected.

SELECT
subsection_grade.user_id AS user_id,
subsection_grade.course_id AS course_id,
subsection_grade.usage_key AS usage_key,
subsection_grade.earned_all AS earned_all,
subsection_grade.possible_all AS possible_all,
subsection_grade.earned_graded AS earned_graded,
subsection_grade.possible_graded AS possible_graded,
subsection_grade.created AS original_grade_created,
override.earned_all_override AS earned_all_override,
override.possible_all_override AS possible_all_override,
override.earned_graded_override AS earned_graded_override,
override.possible_graded_override AS possible_graded_override,
history.feature AS history_feature,
history.action AS history_action,
history.comments AS history_comments,
history.created AS history_created
FROM
grades_persistentsubsectiongrade subsection_grade
JOIN
grades_persistentsubsectiongradeoverride override
ON subsection_grade.id = override.grade_id
JOIN
grades_persistentsubsectiongradeoverridehistory history
ON history.override_id = override.id
WHERE
subsection_grade.course_id = 'course-v1:UQx+BUSLEAD5x+2T2019'
ORDER BY
history_created;

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Status

Assignee

Michael Roytman

Reporter

Jennifer Akana

Reach

Individual(s)

Impact

None

Platform Area

Learner Experience - Master Track

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Story Points

None

Actual Points

None

Category of Work

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Sprint

None

Priority

CAT-3
Configure