Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29460

unit tests failing under oracle and difference seen

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.2
    • Database SQL/XMLDB
    • vmware workstation windows server 2008 running oracle 10g and apache2.2 , browser firefox from ubuntu 10.04.
    • Oracle
    • MOODLE_22_STABLE
    • Hide

      1) run functional db unit tests under an oracle installation. any tests that are resolved in this issue should be passing.

      Show
      1) run functional db unit tests under an oracle installation. any tests that are resolved in this issue should be passing.

      while testing MDL-29313:

      I've attached two saved pages of unit tests i am seeing. one of present moodle.git/master and one of present integration.git/master. moodle.git test were run then updated to integration.git.

      I'm seeing that i have an exception that been introduced which might possibly have to be another issue to be created.

      Exception: lib/ddl/simpletest/testddl.php / ► ddl_test / ► test_char_size_limit
      Unexpected exception of type [dml_read_exception] with message [Error reading from database] in [C:\server\workspace\oracle\lib\dml\moodle_database.php line 394]

      Debug info:

      ORA-01007: variable not in select list
      SELECT * FROM m_testtable WHERE id = :o_id
      [array (
      'o_id' => 1,
      )]

      line 268 of \lib\dml\oci_native_moodle_database.php: call to moodle_database->query_end()
      line 1096 of \lib\dml\oci_native_moodle_database.php: call to oci_native_moodle_database->query_end()
      line 1290 of \lib\dml\moodle_database.php: call to oci_native_moodle_database->get_records_sql()
      line 1032 of \lib\dml\oci_native_moodle_database.php: call to moodle_database->get_record_sql()
      line 1262 of \lib\dml\moodle_database.php: call to oci_native_moodle_database->get_record_sql()
      line 1242 of \lib\dml\moodle_database.php: call to moodle_database->get_record_select()
      line 1628 of \lib\ddl\simpletest\testddl.php: call to moodle_database->get_record()
      line ... of ...
      line 53 of \admin\tool\unittest\ex_simple_test.php: call to TestSuite->run()
      line ... of ...
      line 113 of \admin\tool\unittest\dbtest.php: call to autogroup_test_coverage->run_with_external_coverage()

            skodak Petr Skoda
            nebgor Aparup Banerjee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.