Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.9.4
-
Fix Version/s: None
-
Component/s: Database SQL/XMLDB, Unit tests
-
Labels:None
-
Environment:SunOS geia 5.10 Generic_118833-36 sun4v, Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8i PHP/5.2.6 DAV/2, oci8 1.2.5 $Revision: 1.269.2.16.2.43 $, Oracle Enterprise 10
-
Database:Oracle
-
Affected Branches:MOODLE_19_STABLE
Description
Debug:
ORA-00972: identifier is too long
CREATE TABLE m_unittest_grade_categories_history ( id NUMBER(10) NOT NULL , action NUMBER(10) DEFAULT 0 NOT NULL, oldid NUMBER(10) NOT NULL, source VARCHAR2(255) DEFAULT NULL, timemodified NUMBER(10) DEFAULT NULL, loggeduser NUMBER(10) DEFAULT NULL, courseid NUMBER(10) NOT NULL, parent NUMBER(10) DEFAULT NULL, depth NUMBER(10) DEFAULT 0 NOT NULL, path VARCHAR2(255) DEFAULT NULL, fullname VARCHAR2(255) DEFAULT ' ' NOT NULL, aggregation NUMBER(10) DEFAULT 0 NOT NULL, keephigh NUMBER(10) DEFAULT 0 NOT NULL, droplow NUMBER(10) DEFAULT 0 NOT NULL, aggregateonlygraded NUMBER(1) DEFAULT 0 NOT NULL, aggregateoutcomes NUMBER(1) DEFAULT 0 NOT NULL, aggregatesubcats NUMBER(1) DEFAULT 0 NOT NULL, CONSTRAINT m_unittest_gradcatehist_id_pk PRIMARY KEY (id) )
- line 103 of lib/dmllib.php: call to debugging()
- line 2298 of lib/dmllib.php: call to execute_sql()
- line 863 of lib/ddllib.php: call to execute_sql_arr()
- line 498 of lib/simpletest/fixtures/gradetest.php: call to create_table()
- line 107 of lib/simpletest/fixtures/gradetest.php: call to grade_test->prepare_test_history_tables()
- line 67 of lib/simpletestlib/invoker.php: call to grade_test->setUp()
- line 126 of lib/simpletestlib/invoker.php: call to SimpleInvoker->invoke()
- line 48 of lib/simpletestlib/errors.php: call to SimpleInvokerDecorator->invoke()
- line 126 of lib/simpletestlib/invoker.php: call to SimpleErrorTrappingInvoker->invoke()
- line 42 of lib/simpletestlib/exceptions.php: call to SimpleInvokerDecorator->invoke()
- line 135 of lib/simpletestlib/test_case.php: call to SimpleExceptionTrappingInvoker->invoke()
- line 589 of lib/simpletestlib/test_case.php: call to SimpleTestCase->run()
- line 592 of lib/simpletestlib/test_case.php: call to TestSuite->run()
- line 81 of admin/report/unittest/index.php: call to TestSuite->run()
ORA-00972: identifier is too long
CREATE INDEX m_unittest_gradcatehist_act_ix ON m_unittest_grade_categories_history (action)
- line 103 of lib/dmllib.php: call to debugging()
- line 2298 of lib/dmllib.php: call to execute_sql()
- line 863 of lib/ddllib.php: call to execute_sql_arr()
- line 498 of lib/simpletest/fixtures/gradetest.php: call to create_table()
- line 107 of lib/simpletest/fixtures/gradetest.php: call to grade_test->prepare_test_history_tables()
- line 67 of lib/simpletestlib/invoker.php: call to grade_test->setUp()
- line 126 of lib/simpletestlib/invoker.php: call to SimpleInvoker->invoke()
- line 48 of lib/simpletestlib/errors.php: call to SimpleInvokerDecorator->invoke()
- line 126 of lib/simpletestlib/invoker.php: call to SimpleErrorTrappingInvoker->invoke()
- line 42 of lib/simpletestlib/exceptions.php: call to SimpleInvokerDecorator->invoke()
- line 135 of lib/simpletestlib/test_case.php: call to SimpleExceptionTrappingInvoker->invoke()
- line 589 of lib/simpletestlib/test_case.php: call to SimpleTestCase->run()
- line 592 of lib/simpletestlib/test_case.php: call to TestSuite->run()
- line 81 of admin/report/unittest/index.php: call to TestSuite->run()
ORA-00972: identifier is too long
CREATE INDEX m_unittest_gradcatehist_old_ix ON m_unittest_grade_categories_history (oldid)
- line 103 of lib/dmllib.php: call to debugging()
- line 2298 of lib/dmllib.php: call to execute_sql()
- line 863 of lib/ddllib.php: call to execute_sql_arr()
- line 498 of lib/simpletest/fixtures/gradetest.php: call to create_table()
- line 107 of lib/simpletest/fixtures/gradetest.php: call to grade_test->prepare_test_history_tables()
- line 67 of lib/simpletestlib/invoker.php: call to grade_test->setUp()
- line 126 of lib/simpletestlib/invoker.php: call to SimpleInvoker->invoke()
- line 48 of lib/simpletestlib/errors.php: call to SimpleInvokerDecorator->invoke()
- line 126 of lib/simpletestlib/invoker.php: call to SimpleErrorTrappingInvoker->invoke()
- line 42 of lib/simpletestlib/exceptions.php: call to SimpleInvokerDecorator->invoke()
- line 135 of lib/simpletestlib/test_case.php: call to SimpleExceptionTrappingInvoker->invoke()
- line 589 of lib/simpletestlib/test_case.php: call to SimpleTestCase->run()
- line 592 of lib/simpletestlib/test_case.php: call to TestSuite->run()
- line 81 of admin/report/unittest/index.php: call to TestSuite->run()
ORA-00972: identifier is too long
CREATE INDEX m_unittest_gradcatehist_cou_ix ON m_unittest_grade_categories_history (courseid)
- line 103 of lib/dmllib.php: call to debugging()
- line 2298 of lib/dmllib.php: call to execute_sql()
- line 863 of lib/ddllib.php: call to execute_sql_arr()
- line 498 of lib/simpletest/fixtures/gradetest.php: call to create_table()
- line 107 of lib/simpletest/fixtures/gradetest.php: call to grade_test->prepare_test_history_tables()
- line 67 of lib/simpletestlib/invoker.php: call to grade_test->setUp()
- line 126 of lib/simpletestlib/invoker.php: call to SimpleInvoker->invoke()
- line 48 of lib/simpletestlib/errors.php: call to SimpleInvokerDecorator->invoke()
- line 126 of lib/simpletestlib/invoker.php: call to SimpleErrorTrappingInvoker->invoke()
- line 42 of lib/simpletestlib/exceptions.php: call to SimpleInvokerDecorator->invoke()
- line 135 of lib/simpletestlib/test_case.php: call to SimpleExceptionTrappingInvoker->invoke()
- line 589 of lib/simpletestlib/test_case.php: call to SimpleTestCase->run()
- line 592 of lib/simpletestlib/test_case.php: call to TestSuite->run()
- line 81 of admin/report/unittest/index.php: call to TestSuite->run()
ORA-00972: identifier is too long
CREATE INDEX m_unittest_gradcatehist_par_ix ON m_unittest_grade_categories_history (parent)
- line 103 of lib/dmllib.php: call to debugging()
- line 2298 of lib/dmllib.php: call to execute_sql()
- line 863 of lib/ddllib.php: call to execute_sql_arr()
- line 498 of lib/simpletest/fixtures/gradetest.php: call to create_table()
- line 107 of lib/simpletest/fixtures/gradetest.php: call to grade_test->prepare_test_history_tables()
- line 67 of lib/simpletestlib/invoker.php: call to grade_test->setUp()
- line 126 of lib/simpletestlib/invoker.php: call to SimpleInvoker->invoke()
- line 48 of lib/simpletestlib/errors.php: call to SimpleInvokerDecorator->invoke()
- line 126 of lib/simpletestlib/invoker.php: call to SimpleErrorTrappingInvoker->invoke()
- line 42 of lib/simpletestlib/exceptions.php: call to SimpleInvokerDecorator->invoke()
- line 135 of lib/simpletestlib/test_case.php: call to SimpleExceptionTrappingInvoker->invoke()
- line 589 of lib/simpletestlib/test_case.php: call to SimpleTestCase->run()
- line 592 of lib/simpletestlib/test_case.php: call to TestSuite->run()
- line 81 of admin/report/unittest/index.php: call to TestSuite->run()
ORA-00972: identifier is too long
CREATE SEQUENCE m_unittest_gradcatehist_i10_seq START WITH 1 INCREMENT BY 1 NOMAXVALUE
- line 103 of lib/dmllib.php: call to debugging()
- line 2298 of lib/dmllib.php: call to execute_sql()
- line 863 of lib/ddllib.php: call to execute_sql_arr()
- line 498 of lib/simpletest/fixtures/gradetest.php: call to create_table()
- line 107 of lib/simpletest/fixtures/gradetest.php: call to grade_test->prepare_test_history_tables()
- line 67 of lib/simpletestlib/invoker.php: call to grade_test->setUp()
- line 126 of lib/simpletestlib/invoker.php: call to SimpleInvoker->invoke()
- line 48 of lib/simpletestlib/errors.php: call to SimpleInvokerDecorator->invoke()
- line 126 of lib/simpletestlib/invoker.php: call to SimpleErrorTrappingInvoker->invoke()
- line 42 of lib/simpletestlib/exceptions.php: call to SimpleInvokerDecorator->invoke()
- line 135 of lib/simpletestlib/test_case.php: call to SimpleExceptionTrappingInvoker->invoke()
- line 589 of lib/simpletestlib/test_case.php: call to SimpleTestCase->run()
- line 592 of lib/simpletestlib/test_case.php: call to TestSuite->run()
- line 81 of admin/report/unittest/index.php: call to TestSuite->run()
ORA-00972: identifier is too long
CREATE TRIGGER m_unittest_gradcatehist_id_trg BEFORE INSERT ON m_unittest_grade_categories_history FOR EACH ROW BEGIN IF :new.id IS NULL THEN SELECT m_unittest_gradcatehist_i10_seq.nextval INTO :new.id FROM dual; END IF; END;
- line 103 of lib/dmllib.php: call to debugging()
- line 2298 of lib/dmllib.php: call to execute_sql()
- line 863 of lib/ddllib.php: call to execute_sql_arr()
- line 498 of lib/simpletest/fixtures/gradetest.php: call to create_table()
- line 107 of lib/simpletest/fixtures/gradetest.php: call to grade_test->prepare_test_history_tables()
- line 67 of lib/simpletestlib/invoker.php: call to grade_test->setUp()
- line 126 of lib/simpletestlib/invoker.php: call to SimpleInvoker->invoke()
- line 48 of lib/simpletestlib/errors.php: call to SimpleInvokerDecorator->invoke()
- line 126 of lib/simpletestlib/invoker.php: call to SimpleErrorTrappingInvoker->invoke()
- line 42 of lib/simpletestlib/exceptions.php: call to SimpleInvokerDecorator->invoke()
- line 135 of lib/simpletestlib/test_case.php: call to SimpleExceptionTrappingInvoker->invoke()
- line 589 of lib/simpletestlib/test_case.php: call to SimpleTestCase->run()
- line 592 of lib/simpletestlib/test_case.php: call to TestSuite->run()
- line 81 of admin/report/unittest/index.php: call to TestSuite->run()
ORA-00972: identifier is too long
DELETE FROM m_unittest_grade_grades_history
- line 1377 of lib/dmllib.php: call to debugging()
- line 552 of lib/simpletest/fixtures/gradetest.php: call to delete_records()
- line 107 of lib/simpletest/fixtures/gradetest.php: call to grade_test->prepare_test_history_tables()
- line 67 of lib/simpletestlib/invoker.php: call to grade_test->setUp()
- line 126 of lib/simpletestlib/invoker.php: call to SimpleInvoker->invoke()
- line 48 of lib/simpletestlib/errors.php: call to SimpleInvokerDecorator->invoke()
- line 126 of lib/simpletestlib/invoker.php: call to SimpleErrorTrappingInvoker->invoke()
- line 42 of lib/simpletestlib/exceptions.php: call to SimpleInvokerDecorator->invoke()
- line 135 of lib/simpletestlib/test_case.php: call to SimpleExceptionTrappingInvoker->invoke()
- line 589 of lib/simpletestlib/test_case.php: call to SimpleTestCase->run()
- line 592 of lib/simpletestlib/test_case.php: call to TestSuite->run()
- line 81 of admin/report/unittest/index.php: call to TestSuite->run()
ORA-00972: identifier is too long
DELETE FROM m_unittest_grade_outcomes_history
- line 1377 of lib/dmllib.php: call to debugging()
- line 587 of lib/simpletest/fixtures/gradetest.php: call to delete_records()
- line 107 of lib/simpletest/fixtures/gradetest.php: call to grade_test->prepare_test_history_tables()
- line 67 of lib/simpletestlib/invoker.php: call to grade_test->setUp()
- line 126 of lib/simpletestlib/invoker.php: call to SimpleInvoker->invoke()
- line 48 of lib/simpletestlib/errors.php: call to SimpleInvokerDecorator->invoke()
- line 126 of lib/simpletestlib/invoker.php: call to SimpleErrorTrappingInvoker->invoke()
- line 42 of lib/simpletestlib/exceptions.php: call to SimpleInvokerDecorator->invoke()
- line 135 of lib/simpletestlib/test_case.php: call to SimpleExceptionTrappingInvoker->invoke()
- line 589 of lib/simpletestlib/test_case.php: call to SimpleTestCase->run()
- line 592 of lib/simpletestlib/test_case.php: call to TestSuite->run()
- line 81 of admin/report/unittest/index.php: call to TestSuite->run()
ORA-00942: table or view does not exist
DELETE FROM m_unittest_scale_history
- line 1377 of lib/dmllib.php: call to debugging()
- line 621 of lib/simpletest/fixtures/gradetest.php: call to delete_records()
- line 107 of lib/simpletest/fixtures/gradetest.php: call to grade_test->prepare_test_history_tables()
- line 67 of lib/simpletestlib/invoker.php: call to grade_test->setUp()
- line 126 of lib/simpletestlib/invoker.php: call to SimpleInvoker->invoke()
- line 48 of lib/simpletestlib/errors.php: call to SimpleInvokerDecorator->invoke()
- line 126 of lib/simpletestlib/invoker.php: call to SimpleErrorTrappingInvoker->invoke()
- line 42 of lib/simpletestlib/exceptions.php: call to SimpleInvokerDecorator->invoke()
- line 135 of lib/simpletestlib/test_case.php: call to SimpleExceptionTrappingInvoker->invoke()
- line 589 of lib/simpletestlib/test_case.php: call to SimpleTestCase->run()
- line 592 of lib/simpletestlib/test_case.php: call to TestSuite->run()
- line 81 of admin/report/unittest/index.php: call to TestSuite->run()
Could not create all the test tables!
I'm re-assigning this to Eloy to review from an XMLDBey stance.