-
Bug
-
Resolution: Fixed
-
Minor
-
3.9
-
MOODLE_39_STABLE
-
MOODLE_39_STABLE
-
MDL-68916-master -
-
3.9 release work board
Steps to reproduce (you'll need to enable Debug):
- Login as admin.
- Create a course.
- Access to Participants and enable "Self enrolment"
- Login as student (s1).
- Enrol to the previous course.
- Login as admin.
- Access to the Participants page of the course.
- Manual enrol the student (s1).
- Create an H5P activity.
- Access to the attempts report.
Expected result:
No error is displayed.
Current result:
The following error is displayed:
Did you remember to make the first column something unique in your call to get_records? Duplicate value '3' found in column 'id'. |
line 942 of /lib/dml/pgsql_native_moodle_database.php: call to debugging() |
line 2002 of /lib/tablelib.php: call to pgsql_native_moodle_database->get_records_sql() |
line 2024 of /lib/tablelib.php: call to table_sql->query_db() |
line 126 of /mod/h5pactivity/classes/local/report/participants.php: call to table_sql->out() |
line 128 of /mod/h5pactivity/report.php: call to mod_h5pactivity\local\report\participants->print() |