Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.5
-
Component/s: Tags
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_25_STABLE
-
Fixed Branches:MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
-
Pull from Repository:
-
Pull Master Branch:wip-mdl-41339
-
Pull Master Diff URL:
Description
If you enable tags for courses, add the tags block, and then enter in the same tag with different users, you get the following error:
Did you remember to make the first column something unique in your call to get_records? Duplicate value '4' found in column 'id'.
line 771 of /lib/dml/pgsql_native_moodle_database.php: call to debugging()
line 336 of /tag/lib.php: call to pgsql_native_moodle_database->get_records_sql()
line 405 of /tag/lib.php: call to tag_get_tags()
line 291 of /tag/coursetagslib.php: call to tag_get_tags_ids()
line 51 of /tag/coursetags_add.php: call to coursetag_store_keywords()
Attachments
Issue Links
- Testing discovered
-
MDL-39800 Course tags are being incorrectly weighted
-
- Closed
-