gocodebox / lifterlms

LifterLMS, a WordPress LMS Solution: Easily create, sell, and protect engaging online courses.
https://lifterlms.com
GNU General Public License v3.0
181 stars 135 forks source link

Overall progress under LifterLMS > Reporting is not cleared #2770

Open brianhogg opened 1 month ago

brianhogg commented 1 month ago

Reproduction Steps

  1. Enroll a student in a course with multiple lessons
  2. Complete one of the lessons as the student
  3. Visit LifterLMS > Reporting to see progress
  4. Complete another lesson as the student
  5. Visit LifterLMS > Reporting

Expected Behavior

Progress is updated

Actual Behavior

Progress percentage remains the same

This issue has be recreated:

brianhogg commented 1 month ago

This is a known issue from this doc/blog.

We'd want to be careful about clearing the cache too often since it's a heavy process to update the overall progress on a large site. Clearing an individual student's progress cache when a lesson or course is completed seems reasonable. At the very least showing a helpful message about clearing the cache from the reporting screen.