jackalope/jackalope-doctrine-dbal — pull request #87 by dbu (2013-02-01 15:58:46+00:00)
Title: Operations ordering

depends on https://github.com/jackalope/jackalope/pull/140

there is one new failure that did not happen before which suggests some regression. unfortunately it only happens when running all tests, simply running CopyMethodsTest does not trigger it.

1) PHPCR\Tests\Writing\CopyMethodsTest::testWorkspaceCopy
Doctrine\DBAL\DBALException: An exception occurred while executing 'INSERT INTO phpcr_binarydata (node_id, property_name, workspace_name, idx, data) SELECT ?, b.property_name, ?, b.idx, b.data FROM phpcr_binarydata b WHERE b.node_id = ?' with params {"1":"35","2":"tests","3":4}:

SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "uniq_37e65615460d9fd7413bc13c1ac10dc4e7087e10"
DETAIL: Key (node_id, property_name, workspace_name, idx)=(35, jcr:data, tests, 0) already exists.

/home/david/liip/jackalope/jackalope-doctrine-dbal/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:47
/home/david/liip/jackalope/jackalope-doctrine-dbal/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:793
/home/david/liip/jackalope/jackalope-doctrine-dbal/src/Jackalope/Transport/DoctrineDBAL/Client.php:444
/home/david/liip/jackalope/jackalope-doctrine-dbal/vendor/jackalope/jackalope/src/Jackalope/ObjectManager.php:1413
/home/david/liip/jackalope/jackalope-doctrine-dbal/vendor/jackalope/jackalope/src/Jackalope/Workspace.php:109
/home/david/liip/jackalope/jackalope-doctrine-dbal/vendor/phpcr/phpcr-api-tests/tests/10_Writing/CopyMethodsTest.php:34