Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2-BETA1, 2.2-BETA2
    • Fix Version/s: 2.2.0-RC1, 2.2
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      https://github.com/doctrine/doctrine2/commit/3bb803fd697d92d661f5b8cea473f75f46c34857

      Git Bisect found this commit to lead to the following error:

      $ phpunit -c postgresql.phpunit.xml --filter DDC-742
      PHPUnit 3.6.5 by Sebastian Bergmann.
      
      Configuration read from /home/benny/code/php/wsnetbeans/doctrine2/postgresql.phpunit.xml
      
      E
      
      Time: 12 seconds, Memory: 36.00Mb
      
      There was 1 error:
      
      1) Doctrine\Tests\ORM\Functional\Ticket\DDC742Test::testIssue
      Exception: [PHPUnit_Framework_Error_Notice] Undefined index: 0000000016f5d67f000000001fa7794e
      
      With queries:
      11. SQL: 'INSERT INTO comments (content) VALUES (?)' Params: 'baz'
      10. SQL: 'INSERT INTO comments (content) VALUES (?)' Params: 'bar'
      9. SQL: 'INSERT INTO comments (content) VALUES (?)' Params: 'foo'
      8. SQL: 'ALTER TABLE user_comments ADD CONSTRAINT FK_BF13722AF8697D13 FOREIGN KEY (comment_id) REFERENCES comments (id) NOT DEFERRABLE INITIALLY IMMEDIATE' Params: 
      7. SQL: 'ALTER TABLE user_comments ADD CONSTRAINT FK_BF13722AA76ED395 FOREIGN KEY (user_id) REFERENCES users (id) NOT DEFERRABLE INITIALLY IMMEDIATE' Params: 
      6. SQL: 'CREATE TABLE comments (id SERIAL NOT NULL, content VARCHAR(100) NOT NULL, PRIMARY KEY(id))' Params: 
      5. SQL: 'CREATE INDEX IDX_BF13722AF8697D13 ON user_comments (comment_id)' Params: 
      4. SQL: 'CREATE INDEX IDX_BF13722AA76ED395 ON user_comments (user_id)' Params: 
      3. SQL: 'CREATE TABLE user_comments (user_id INT NOT NULL, comment_id INT NOT NULL, PRIMARY KEY(user_id, comment_id))' Params: 
      2. SQL: 'CREATE TABLE users (id SERIAL NOT NULL, title VARCHAR(100) NOT NULL, PRIMARY KEY(id))' Params: 
      
      Trace:
      /home/benny/code/php/wsnetbeans/doctrine2/lib/Doctrine/ORM/UnitOfWork.php:2171
      /home/benny/code/php/wsnetbeans/doctrine2/lib/Doctrine/ORM/Persisters/ManyToManyPersister.php:113
      /home/benny/code/php/wsnetbeans/doctrine2/lib/Doctrine/ORM/Persisters/ManyToManyPersister.php:95
      /home/benny/code/php/wsnetbeans/doctrine2/lib/Doctrine/ORM/Persisters/AbstractCollectionPersister.php:130
      /home/benny/code/php/wsnetbeans/doctrine2/lib/Doctrine/ORM/Persisters/AbstractCollectionPersister.php:108
      /home/benny/code/php/wsnetbeans/doctrine2/lib/Doctrine/ORM/UnitOfWork.php:310
      /home/benny/code/php/wsnetbeans/doctrine2/lib/Doctrine/ORM/EntityManager.php:334
      /home/benny/code/php/wsnetbeans/doctrine2/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC742Test.php:63
      
      
      /home/benny/code/php/wsnetbeans/doctrine2/tests/Doctrine/Tests/OrmFunctionalTestCase.php:359
      

        Activity

        Benjamin Eberlei created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Fix Version/s 2.2.0-RC1 [ 10191 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 13370 ] jira-feedback [ 15202 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 15202 ] jira-feedback2 [ 17066 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17066 ] jira-feedback3 [ 19319 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: