-
Bug
-
Resolution: Fixed
-
Minor
-
3.6.4, 3.7, 3.8
-
MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
-
MOODLE_36_STABLE, MOODLE_37_STABLE
-
MDL-65910-master -
To reproduce:
- Log in as admin user
- Create some courses and users enrolled in those courses
- Make sure site statistics are enabled (here is the docs page)
- Download and run the attached script "generate_stats.php" which will create some duplicate log entries to ensure that timeend matches (which is what causes this issue)
- Run cron to generate the stats, or execute the "\core\task\stats_cron_task" task:
php admin/tool/task/cli/schedule_task.php --execute="\\core\\task\\stats_cron_task"
- Go to a user's profile (or your own profile)
- Under "Reports", click "Statistics"
- If you compare the data on the graph and the table, you will see that some data on the table don't match the ones displayed on the graph.
- Discovered while testing
-
MDL-55997 Duplicate date rows appear in statistics report
- Closed