DDC-185: 2 Test failures on Oracle OCI8 #2510

Closed
doctrinebot opened this Issue Nov 30, 2009 · 1 comment

1 participant

@doctrinebot

Jira issue originally created by user @beberlei:

1) Doctrine\Tests\ORM\Functional\SingleTableInheritanceTest::testPolymorphicFind
Exception: [PHPUnit*Framework_Error*Notice] Undefined index: number

With queries:
1. SQL: 'CREATE TABLE ParentEntity (id NUMBER(10) NOT NULL, DATA VARCHAR2(255) NOT NULL, discr VARCHAR2(255) NOT NULL, "number" NUMBER(10) DEFAULT NULL, related*entity*id NUMBER(10) DEFAULT NULL, PRIMARY KEY(id))' Params: 
2. SQL: 'INSERT INTO ParentEntity (id, DATA, "number", related*entity*id, discr) VALUES (?, ?, ?, ?, ?)' Params: '5', 'thedata', '1234', '', 'child'

Trace:
/home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/ORM/Persisters/StandardEntityPersister.php:733
/home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/ORM/Persisters/SingleTablePersister.php:82
/home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/ORM/Persisters/StandardEntityPersister.php:565
/home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/ORM/Persisters/StandardEntityPersister.php:413
/home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/ORM/EntityRepository.php:96
/home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/ORM/EntityManager.php:302
/home/benny/code/php/wsnetbeans/Doctrine/trunk/tests/Doctrine/Tests/ORM/Functional/SingleTableInheritanceTest.php:152


/home/benny/code/php/wsnetbeans/Doctrine/trunk/tests/Doctrine/Tests/OrmFunctionalTestCase.php:235

2) Doctrine\Tests\ORM\Functional\LifecycleCallbackTest::testChangesDontGetLost
Exception: [PHPUnit*Framework_Error_Warning] oci_execute(): ORA-01400: cannot insert NULL into ("DOCTRINE*TESTS"."LIFECYCLECALLBACKTESTUSER"."VALUE")

With queries:
1. SQL: 'CREATE TABLE lc*cb_test*entity (id NUMBER(10) NOT NULL, value VARCHAR2(255) NOT NULL, PRIMARY KEY(id))' Params: 
2. SQL: 'SELECT LifecycleCallbackTestUser*id*s.nextval FROM DUAL' Params: 
3. SQL: 'INSERT INTO LifecycleCallbackTestUser (id, value, name) VALUES (?, ?, ?)' Params: '1', '', 'Bob'

Trace:
/home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php:140
/home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/ORM/Persisters/StandardEntityPersister.php:151
/home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/ORM/UnitOfWork.php:698
/home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/ORM/UnitOfWork.php:283
/home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/ORM/EntityManager.php:288
/home/benny/code/php/wsnetbeans/Doctrine/trunk/tests/Doctrine/Tests/ORM/Functional/LifecycleCallbackTest.php:50


/home/benny/code/php/wsnetbeans/Doctrine/trunk/tests/Doctrine/Tests/OrmFunctionalTestCase.php:235
@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.0-ALPHA4 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment