Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-ALPHA3
    • Fix Version/s: 2.0-ALPHA4
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      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
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Roman S. Borschel
            Reporter:
            Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: