- changed status to resolved
SQL Error saving Tutor Grades
Issue #25
resolved
When saving tutor grades I see an SQL error:
Debug info: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '* FROM mdl_peerwork_grades WHERE peerworkid = '1' AND submissionid = '2'' at line 1
SELECT userid AS idx, * FROM mdl_peerwork_grades WHERE peerworkid = ? AND submissionid = ?
[array (
0 => '1',
1 => '2',
)]
Error code: dmlreadexception
Stack trace:
- line 486 of \lib\dml\moodle_database.php: dml_read_exception thrown
- line 1247 of \lib\dml\mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 1416 of \lib\dml\moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
- line 1367 of \lib\dml\moodle_database.php: call to moodle_database->get_records_select()
- line 549 of \mod\peerwork\locallib.php: call to moodle_database->get_records()
- line 566 of \mod\peerwork\locallib.php: call to peerwork_get_local_grades()
- line 179 of \mod\peerwork\details.php: call to peerwork_update_local_grades()
A screen recording of this can be seen below:
Comments (2)
-
-
Sorry for the inconvenience, this has been fixed.
- Log in to comment
SQL compatibility issue when retrieving local grades. Fixes
#25→ <<cset 30af9b93d1c3>>