-
Bug
-
Resolution: Fixed
-
Critical
-
2.0, 2.6.1, 2.7.2, 2.8
-
MySQL
-
MOODLE_20_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE
-
MOODLE_26_STABLE, MOODLE_27_STABLE
-
MDL-25057-master -
- Create a new course as teacher
- Enrol a student
- In the students user preferences, enable forum read tracking
- As student, create forum post (verify the student is subscribed by email to the thread as defai;t)
- As teacher, write a reply to the post and tick 'reply now'
- As a student, reload the new thread (verify you see a new post)
- Run cron
- As student reload the thread
Expected:
No debugging messages
Actual:
Did you remember to make the first column something unique in your call to get_records? Duplicate value '6' found in column 'id'.
line 791 of /lib/dml/pgsql_native_moodle_database.php: call to debugging()
line 1898 of /mod/forum/lib.php: call to pgsql_native_moodle_database->get_records_sql()
line 5520 of /mod/forum/lib.php: call to forum_get_all_discussion_posts()
line 354 of /mod/forum/discuss.php: call to forum_print_discussion()
- has been marked as being related by
-
MDL-53502 Still getting duplicate key error in forum_get_all_discussion_posts()
-
- Closed
-
- is duplicated by
-
MDL-40229 Duplicate key error in forum_get_all_discussion_posts()
-
- Closed
-
-
MDLSITE-2745 Duplicate value debug messages
-
- Closed
-