-
Bug
-
Resolution: Fixed
-
Minor
-
2.2.1
-
MOODLE_22_STABLE
-
MOODLE_23_STABLE
-
MDL-32107-master -
On one Moodle course, when updating a module I am seeing the following error -
Did you remember to make the first column something unique in your call to get_records? Duplicate value '333182' found in column 'id'.
|
|
line 716 of /lib/dml/pgsql_native_moodle_database.php: call to debugging()
|
line 1094 of /lib/completionlib.php: call to pgsql_native_moodle_database->get_records_sql()
|
line 786 of /lib/completionlib.php: call to completion_info->get_tracked_users()
|
line 391 of /course/modedit.php: call to completion_info->reset_all_state()
|
|
Did you remember to make the first column something unique in your call to get_records? Duplicate value '339734' found in column 'id'.
|
|
line 716 of /lib/dml/pgsql_native_moodle_database.php: call to debugging()
|
line 1094 of /lib/completionlib.php: call to pgsql_native_moodle_database->get_records_sql()
|
line 786 of /lib/completionlib.php: call to completion_info->get_tracked_users()
|
line 391 of /course/modedit.php: call to completion_info->reset_all_state()
|
|
Did you remember to make the first column something unique in your call to get_records? Duplicate value '407824' found in column 'id'.
|
|
line 716 of /lib/dml/pgsql_native_moodle_database.php: call to debugging()
|
line 1094 of /lib/completionlib.php: call to pgsql_native_moodle_database->get_records_sql()
|
line 786 of /lib/completionlib.php: call to completion_info->get_tracked_users()
|
line 391 of /course/modedit.php: call to completion_info->reset_all_state()
|
I have attempted reproducing and replicating the error but haven't succeeded.
- caused a regression
-
MDL-37473 Completion blocks do not respect new isincompletionreports capability
-
- Closed
-
- has a non-specific relationship to
-
MDL-34332 Course completion timeenrolled is not always set correctly
-
- Closed
-
- is duplicated by
-
MDL-35170 Completion Info reset error not backported to 2.2
-
- Closed
-