Details
-
Sub-task
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.1.5, 2.1.6, 2.2.2, 2.2.3
-
Oracle
-
MOODLE_21_STABLE, MOODLE_22_STABLE
-
MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
MDL-30700-master -
-
Description
When sorting the assignment submissions by comment in Oracle it crashes with ORA-00932 inconsistent datatypes: expected - got clob
* line 394 of \lib\dml\moodle_database.php: dml_read_exception thrown
|
* line 268 of \lib\dml\oci_native_moodle_database.php: call to moodle_database->query_end()
|
* line 1093 of \lib\dml\oci_native_moodle_database.php: call to oci_native_moodle_database->query_end()
|
* line 1325 of \mod\assignment\lib.php: call to oci_native_moodle_database->get_records_sql()
|
* line 649 of \mod\assignment\lib.php: call to assignment_base->display_submissions()
|
* line 369 of \mod\assignment\type\upload\assignment.class.php: call to assignment_base->submissions()
|
* line 57 of \mod\assignment\submissions.php: call to assignment_upload->submissions()
|
This is because the comment column (mdl_assignment_submissions.submissioncomment) datatype is CLOB, and (at least in Oracle) that kind of columns aren't allowed in the order by sentence
Attachments
Issue Links
- is duplicated by
-
MDL-32206 Trying to view submitted assignments.
-
- Closed
-