Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Files API
    • Labels:

      Description

      [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()

        Attachments

          Activity

            People

            Assignee:
            poltawski Dan Poltawski
            Reporter:
            poltawski Dan Poltawski
            Peer reviewer:
            Dongsheng Cai
            Integrator:
            Sam Hemelryk
            Tester:
            Michael de Raadt
            Participants:
            Component watchers:
            Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              25/Jun/12