Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-491

Quoting Patch completly wrecked OCI8 support

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0-ALPHA4
    • Fix Version/s: 2.0-BETA1
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      The quoting issue broke the OCI8 Driver, there is a fatal because of changes in the interface, and fixting that there are 160 test-failures

        Activity

        Hide
        Benjamin Eberlei added a comment -

        Fixed

        Show
        Benjamin Eberlei added a comment - Fixed
        Hide
        Benjamin Eberlei added a comment -

        Failure is always something like:

        164) Doctrine\Tests\ORM\Functional\Ticket\Ticket2481Test::testEmptyInsert
        Exception: [PHPUnit_Framework_Error_Warning] Invalid argument supplied for foreach()
        
        With queries:
        4. SQL: 'INSERT INTO ticket_2481_products (id) VALUES (?)' Params: '1'
        3. SQL: 'SELECT ticket_2481_products_id_seq.nextval FROM DUAL' Params: 
        2. SQL: 'CREATE SEQUENCE ticket_2481_products_id_seq START WITH 1 MINVALUE 1 INCREMENT BY 10' Params: 
        
        Trace:
        /home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php:138
        /home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/DBAL/Statement.php:130
        /home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/ORM/Persisters/StandardEntityPersister.php:187
        /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:291
        /home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/ORM/EntityManager.php:281
        /home/benny/code/php/wsnetbeans/Doctrine/trunk/tests/Doctrine/Tests/ORM/Functional/Ticket/Ticket2481Test.php:27
        
        Show
        Benjamin Eberlei added a comment - Failure is always something like: 164) Doctrine\Tests\ORM\Functional\Ticket\Ticket2481Test::testEmptyInsert Exception: [PHPUnit_Framework_Error_Warning] Invalid argument supplied for foreach() With queries: 4. SQL: 'INSERT INTO ticket_2481_products (id) VALUES (?)' Params: '1' 3. SQL: 'SELECT ticket_2481_products_id_seq.nextval FROM DUAL' Params: 2. SQL: 'CREATE SEQUENCE ticket_2481_products_id_seq START WITH 1 MINVALUE 1 INCREMENT BY 10' Params: Trace: /home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php:138 /home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/DBAL/Statement.php:130 /home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/ORM/Persisters/StandardEntityPersister.php:187 /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:291 /home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/ORM/EntityManager.php:281 /home/benny/code/php/wsnetbeans/Doctrine/trunk/tests/Doctrine/Tests/ORM/Functional/Ticket/Ticket2481Test.php:27

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: