Grade overrides can be incorrectly hidden from the instructor view
Description
Activity

James Renfro September 20, 2009 at 9:29 PM
Closing since this is a QA pass.

Vernon O'Connor September 18, 2009 at 10:20 AM
QA ENVIRONMENT:
Using PC Windows Vista Enterprise SP2 Firefox 3.5.3 & IE 8 on:
UCD TEST SERVER
SmartSite@UCDavis - [sakai_2-5-x-test-079] - Sakai 2.5.x-R57934 gb2-1.1.1-b1 - Server sakaitest1
with gradebook2 (tags/gb2-1.1.1-b1).
QA TASK:
Verify that Grade overrides are no longer incorrectly hidden from the instructor view.
QA SUMMARY:
ART 009 001 FQ 2009
Test Plan:
(1) Navigate to a gradebook with more than one "page" of students, QA Pass.
(2) Ensure that there are fewer "grade overrides" entered in the whole gradebook than the number of students on the first page, QA Pass.
(3) Ensure that you're sorting by student name, QA Pass.
(4) Go to the second page of data, enter a grade override, QA Pass.
(5) Go back to the first page, QA Pass.
(6) Return to the second page, QA Pass.
Grade overrides are not incorrectly hidden from the instructor view, QA Pass.
Verified that Grade overrides are no longer incorrectly hidden from the instructor view, QA Pass.
QA RESULTS:
Verified that Grade overrides are no longer incorrectly hidden from the instructor view, QA PASS.
Overall, QA PASS.

Nancy Wilkison September 17, 2009 at 9:48 AM
QA ENVIRONMENT -
vista enterprise, firefox, ie7
smartsite-test sakai_2-5-x-test-079 - Sakai 2.5.x-R57934 gb2-1.1.1-b1 - Server sakaitest1
QA SUMMARY -
followed test plan above on site with 2 1/2 pages of students.
1 - overrode 3 grades on 1st 2 pages and 2 on 3rd page.
2 - overrode another grade on 2nd page (different grade)
3 - navigated to1st and back to 2nd page.
4 - grade in #2 is still visible.
5 - sorted on course grade, grade override and name to make sure the grade stayed. it did.
QA RESULTS -
pass on -test

James Renfro September 16, 2009 at 5:06 PM
Merging into 1.1.1-b1 as well.

James Renfro September 16, 2009 at 5:00 PM
Test Plan:
(1) Navigate to a gradebook with more than one "page" of students
(2) Ensure that there are fewer "grade overrides" entered in the whole gradebook than the number of students on the first page
(3) Ensure that you're sorting by student name
(4) Go to the second page of data, enter a grade override
(5) Go back to the first page
(6) Return to the second page
With the fix in place, the grade override you entered should still be visible. Without the fix, it seems to "disappear", but is in fact visible in export grades, final grade submission, and when sorting by any field other than student name.
The bug is with the display of multiple pages of data. The instructor is able to enter grade overrides correctly on any page and will see those changes reflected on the screen. But if the sorting is set to Student Name, then moving between pages will cause those grade overrides to appear to disappear on later pages in the specific case where there are fewer grade overrides than there are numbers of students in a page.
That is, if the page size is set to 15 and you have 4 grade overrides in your gradebook for students 16-30, then you will not see any of these grade overrides when you page to the 2nd page of the data.
Sorting by any column other than student name will cause the missing data to reappear, as will setting the page size higher (for example, to include all students in the site).
Additionally, export will always include all grade overrides, and final grade submission is the same, so the error only occurs in the UI.