Reproduction Steps
- Enroll a student in a course
- Wait a few minutes (or longer for a very large course) for the data calculations like average grade and progress to update
Expected Behavior
Course data calculation ends
Actual Behavior
- Total students is updated since it is set from the separate COUNT(*) query right away, but average grades/progress/etc do not update
- Course data lock appears and is never removed under LifterLMS > Status > Tools & Utilities, "Delete course data locks"
Technical Information
The "is last page" calculation wasn't updated to use the count(*) query, but the "found rows" data was removed. So max_pages is set to 0 and thus will never match the current page.
We can pass in the max pages so the processing ends.
Reproduction Steps
Expected Behavior
Course data calculation ends
Actual Behavior
Technical Information
The "is last page" calculation wasn't updated to use the count(*) query, but the "found rows" data was removed. So max_pages is set to
0and thus will never match the current page.We can pass in the max pages so the processing ends.