Details
Description
Hi Andrew,
Have experienced this a couple of times now, seems to always be -2?
Debug info: Out of range value for column 'scaleid' at row 1
INSERT INTO rating (contextid,scaleid,itemid,rating,userid,timecreated,timemodified) VALUES(?,?,?,?,?,?,?)
[array (
0 => '545',
1 => '-2',
2 => '485',
3 => '25',
4 => '140',
5 => '1257304623',
6 => '1257304623',
)]
Stack trace:
- line 375 of /lib/dml/moodle_database.php: dml_write_exception thrown
- line 740 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 783 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
- line 446 of /lib/db/upgradelib.php: call to mysqli_native_moodle_database->insert_record()
- line 298 of /mod/forum/db/upgrade.php: call to upgrade_module_ratings()
- line 510 of /lib/upgradelib.php: call to xmldb_forum_upgrade()
- line 294 of /lib/upgradelib.php: call to upgrade_plugins_modules()
- line 1266 of /lib/upgradelib.php: call to upgrade_plugins()
- line 268 of /admin/index.php: call to upgrade_noncore()
Attachments
Issue Links
- will help resolve
-
MDL-21657 Implement Ratings 2.0
-
- Closed
-