-
Bug
-
Resolution: Won't Do
-
Critical
-
None
-
2.6, 2.8.2, 2.8.8, 2.9.2, BACKEND
-
Oracle
-
MOODLE_26_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
-
MDL-43816_2_master -
-
Team '; drop tables Sprint 9, Team ';drop tables Sprint 10
-
Large
Using the full text search in the glossary returns:
Error reading from database
More information about this error
Debug info: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "MOODLEP.MOODLELIB", line 86
SELECT COUNT(DISTINCT(ge.id)) FROM m_glossary_entries ge
|
LEFT JOIN m_glossary_alias al ON al.entryid = ge.id WHERE (ge.glossaryid = :o_gid1 or ge.sourceglossaryid = :o_gid2) AND
|
(ge.approved <> 0 OR ge.userid = :o_myid)
|
AND (LOWER( MOODLELIB.UNDO_MEGA_HACK(MOODLELIB.TRICONCAT(ge.concept, '*OCISP*', MOODLELIB.TRICONCAT(ge.definition, '*OCISP*', COALESCE(al.alias, :o_emptychar)))) ) LIKE LOWER(:o_ss1) ESCAPE '\')
|
[array (
|
'o_gid1' => '121',
|
'o_gid2' => '121',
|
'o_myid' => '282',
|
'o_emptychar' => '',
|
'o_ss1' => '%Account%',
|
)]
|
Error code: dmlreadexception
Stack trace:
line 441 of /lib/dml/moodle_database.php: dml_read_exception thrown
line 271 of /lib/dml/oci_native_moodle_database.php: call to moodle_database->query_end()
line 1122 of /lib/dml/oci_native_moodle_database.php: call to oci_native_moodle_database->query_end()
line 1415 of /lib/dml/moodle_database.php: call to oci_native_moodle_database->get_records_sql()
line 1056 of /lib/dml/oci_native_moodle_database.php: call to moodle_database->get_record_sql()
line 1488 of /lib/dml/moodle_database.php: call to oci_native_moodle_database->get_record_sql()
line 1659 of /lib/dml/moodle_database.php: call to moodle_database->get_field_sql()
line 270 of /mod/glossary/sql.php: call to moodle_database->count_records_sql()
line 378 of /mod/glossary/view.php: call to require()