-
Bug
-
Resolution: Fixed
-
Critical
-
2.1.7, 2.2.4, 2.3.1, 2.3.4, 2.4.1
-
MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
MOODLE_23_STABLE, MOODLE_24_STABLE
-
-
A lesson associated with a grouping will have the report.php display that no attempts were made. But there are results in the lesson_attempts table and the gradebook.
The problem is because of an incorrect query for groupings and groups.
Replication steps:
- Create a group/grouping with students
- Create lesson and associate that lesson with the created grouping
- As a student in the created grouping, attempt the lesson activity
- View the report page for the lesson
Expected result: The report page will display the attempt that was made.
Actual result: A message is displayed "No attempts have been made on this lesson."