-
Sub-task
-
Resolution: Fixed
-
Blocker
-
2.3
-
MOODLE_23_STABLE
-
MOODLE_23_STABLE
-
[Debug info: ORA-00918: column ambiguously defined
SELECT f.*, r.repositoryid, r.reference
FROM a_files f
LEFT JOIN a_files_reference r
ON f.referencefileid = r.id
WHERE f.contextid = :o_contextid
AND f.component = :o_component
AND f.filearea = :o_filearea
AND f.itemid = :o_itemid
ORDER BY id
[array (
'o_contextid' => '5',
'o_component' => 'user',
'o_filearea' => 'draft',
'o_itemid' => 755170085,
)]
Error code: dmlreadexception
Stack trace:
line 413 of /lib/dml/moodle_database.php: dml_read_exception thrown
line 278 of /lib/dml/oci_native_moodle_database.php: call to moodle_database->query_end()
line 1105 of /lib/dml/oci_native_moodle_database.php: call to oci_native_moodle_database->query_end()
line 421 of /lib/filestorage/file_storage.php: call to oci_native_moodle_database->get_records_sql()
line 338 of /lib/form/filemanager.php: call to file_storage->get_area_files()
line 255 of /lib/form/filemanager.php: call to form_filemanager->__construct()
line 183 of /lib/pear/HTML/QuickForm/Renderer/Tableless.php: call to MoodleQuickForm_filemanager->toHtml()
line 2384 of /lib/formslib.php: call to HTML_QuickForm_Renderer_Tableless->renderElement()
line 403 of /lib/pear/HTML/QuickForm/element.php: call to MoodleQuickForm_Renderer->renderElement()
line 1631 of /lib/pear/HTML/QuickForm.php: call to HTML_QuickForm_element->accept()
line 1414 of /lib/formslib.php: call to HTML_QuickForm->accept()
line 1674 of /lib/pear/HTML/QuickForm.php: call to MoodleQuickForm->accept()
line 435 of /lib/pear/HTML/Common.php: call to HTML_QuickForm->toHtml()
line 204 of /lib/pear/HTML/QuickForm/DHTMLRulesTableless.php: call to HTML_Common->display()
line 896 of /lib/formslib.php: call to HTML_QuickForm_DHTMLRulesTableless->display()
line 658 of /course/modedit.php: call to moodleform->display()