Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with doctrine/orm 2.16 #2659

Closed
Chris53897 opened this issue Aug 1, 2023 · 13 comments
Closed

Not working with doctrine/orm 2.16 #2659

Chris53897 opened this issue Aug 1, 2023 · 13 comments
Labels

Comments

@Chris53897
Copy link
Contributor

I am not sure if the problem is in doctrine/orm 2.16 or in this repo.
But i came across this error. (It works with 2.15.4)

{"message":"Exception: An exception occurred while executing a query: SQLSTATE[42P01]: Undefined table: 7 ERROR: relation \"abstract_log_entry_id_seq\" does not exist\nLINE 1: SELECT NEXTVAL('abstract_log_entry_id_seq')\n ^","context":{"trace":"#0 /var/www/oops/builds/20230801-141658/vendor/doctrine/dbal/src/Connection.php(1935): Doctrine\\DBAL\\Driver\\API\\PostgreSQL\\ExceptionConverter->convert()\n#1 /var/www/oops/builds/20230801-141658/vendor/doctrine/dbal/src/Connection.php(1878): Doctrine\\DBAL\\Connection->handleDriverException()\n#2 /var/www/oops/builds/20230801-141658/vendor/doctrine/dbal/src/Connection.php(1103): Doctrine\\DBAL\\Connection->convertExceptionDuringQuery()\n#3 /var/www/oops/builds/20230801-141658/vendor/doctrine/dbal/src/Connection.php(619): Doctrine\\DBAL\\Connection->executeQuery()\n#4 /var/www/oops/builds/20230801-141658/vendor/doctrine/orm/lib/Doctrine/ORM/Id/SequenceGenerator.php(65): Doctrine\\DBAL\\Connection->fetchOne()\n#5 /var/www/oops/builds/20230801-141658/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1037): Doctrine\\ORM\\Id\\SequenceGenerator->generateId()\n#6 /var/www/oops/builds/20230801-141658/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1959): Doctrine\\ORM\\UnitOfWork->persistNew()\n#7 /var/www/oops/builds/20230801-141658/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1916): Doctrine\\ORM\\UnitOfWork->doPersist()\n#8 /var/www/oops/builds/20230801-141658/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(665): Doctrine\\ORM\\UnitOfWork->persist()\n#9 /var/www/oops/builds/20230801-141658/vendor/gedmo/doctrine-extensions/src/Loggable/LoggableListener.php(352): Doctrine\\ORM\\EntityManager->persist()\n#10 /var/www/oops/builds/20230801-141658/vendor/gedmo/doctrine-extensions/src/Loggable/LoggableListener.php(196): Gedmo\\Loggable\\LoggableListener->createLogEntry()\n#11 /var/www/oops/builds/20230801-141658/vendor/symfony/doctrine-bridge/ContainerAwareEventManager.php(62): Gedmo\\Loggable\\LoggableListener->onFlush()\n#12 /var/www/oops/builds/20230801-141658/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(3613): Symfony\\Bridge\\Doctrine\\ContainerAwareEventManager->dispatchEvent()\n#13 /var/www/oops/builds/20230801-141658/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(420): Doctrine\\ORM\\UnitOfWork->dispatchOnFlushEvent()\n#14 /var/www/oops/builds/20230801-141658/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(403): Doctrine\\ORM\\UnitOfWork->commit()\n#15 /var/www/oops/builds/20230801-141658/src/Service/ParticipantService.php(54): Doctrine\\ORM\\EntityManager->flush()\n#16 /var/www/oops/builds/20230801-141658/src/Service/TourGuideContractingService.php(197): App\\Service\\ParticipantService->addGuide()\n#17 /var/www/oops/builds/20230801-141658/src/Controller/OOPS/Tour/TourToGuideContractController.php(89): App\\Service\\TourGuideContractingService->assignTourGuide()\n#18 /var/www/oops/builds/20230801-141658/vendor/symfony/http-kernel/HttpKernel.php(166): App\\Controller\\OOPS\\Tour\\TourToGuideContractController->tourRBGLzuordnen()\n#19 /var/www/oops/builds/20230801-141658/vendor/symfony/http-kernel/HttpKernel.php(74): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw()\n#20 /var/www/oops/builds/20230801-141658/vendor/symfony/http-kernel/Kernel.php(197): Symfony\\Component\\HttpKernel\\HttpKernel->handle()\n#21 /var/www/oops/builds/20230801-141658/src/Kernel.php(42): Symfony\\Component\\HttpKernel\\Kernel->handle()\n#22 /var/www/oops/builds/20230801-141658/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php(35): App\\Kernel->handle()\n#23 /var/www/oops/builds/20230801-141658/vendor/autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\HttpKernelRunner->run()\n#24 /var/www/oops/builds/20230801-141658/public/index.php(5): require_once('...')\n#25 {main}"},"level":500,"level_name":"CRITICAL","channel":"app","datetime":"2023-08-01T14:25:35.940363+00:00",

@Chris53897
Copy link
Contributor Author

@mbabker
Copy link
Contributor

mbabker commented Aug 3, 2023

The conversation on doctrine/orm#10869 seems like it could be relevant to the test errors for the closure tree listener.

@mpdude
Copy link

mpdude commented Aug 3, 2023

In the trace you posted above, I don't see the TreeListener, but a LoggableListener?

doctrine/orm#10869 is mostly about calling EntityManager::flush()/UnitOfWork::commit() from within a postPersist listener – so, re-starting a flush while another one is running. Not sure if that's what happening here.

But, a possible relevant side note is doctrine/orm#10869 (comment):

Before 2.16, inserts would be grouped by entity class (=table), and all postPersist events for a particular table/class are dispatched after all INSERTs for this class had been done, and before processing the next entity class/table.

As of 2.16, INSERTs may go back and forth between different tables, as necessary due to entity associations. postPersist events will be dispatched after every single entity that has been INSERTed, but you may not make assuptions about other entities of the same class at that time.

@mbabker
Copy link
Contributor

mbabker commented Aug 3, 2023

In the trace you posted above, I don't see the TreeListener, but a LoggableListener?

The errors in the CI build linked in #2659 (comment) is what made me think there might be a loose connection. Not 100% sure, I don't personally use the closure tree listener and the app I've been working in this week didn't have any test fails when I tested with ORM 2.16 so that was really me just shooting in the dark hoping something might give someone an idea.

@mpdude
Copy link

mpdude commented Aug 23, 2023

Can anybody familiar with the extensions here try and report if doctrine/orm#10915 helps?

@mbabker
Copy link
Contributor

mbabker commented Aug 23, 2023

Looks promising.

Tests with PHP 8.2 + ORM 2.16.1
PHPUnit 9.6.11 by Sebastian Bergmann and contributors.

Testing
...........S.......SS...S....SSSSS.............................  63 / 509 ( 12%)
...........................SS..SS.........S..................SS 126 / 509 ( 24%)
S.........................SSSSSSSSS.........................EEE 189 / 509 ( 37%)
EEEEEEEEEEEEEEEEEEEE......SSSSSSSSSSSS.............F........... 252 / 509 ( 49%)
..................................................SSSS........S 315 / 509 ( 61%)
S....S....SS..............SSS..............SSS................. 378 / 509 ( 74%)
........................SS.........SSSSS............SSS........ 441 / 509 ( 86%)
.........................................................SSSSSS 504 / 509 ( 99%)
.SSSS                                                           509 / 509 (100%)

Time: 00:05.542, Memory: 82.00 MB

There were 23 errors:

1) Gedmo\Tests\Tree\ClosureTreeRepositoryTest::testChildCount
   Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:59

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:59

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:59

2) Gedmo\Tests\Tree\ClosureTreeRepositoryTest::testPath
   Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:85

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:85

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:85

3) Gedmo\Tests\Tree\ClosureTreeRepositoryTest::testChildren
   Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:106

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:106

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:106

4) Gedmo\Tests\Tree\ClosureTreeRepositoryTest::testSingleNodeRemoval
   Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:196

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:196

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:196

5) Gedmo\Tests\Tree\ClosureTreeRepositoryTest::testBuildTreeWithLevelProperty
   Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:227

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:227

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:227

6) Gedmo\Tests\Tree\ClosureTreeRepositoryTest::testBuildTreeWithoutLevelProperty
   Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryWithoutLevelClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:234

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryWithoutLevelClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:234

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryWithoutLevelClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:234

7) Gedmo\Tests\Tree\ClosureTreeRepositoryTest::testHavingLevelPropertyAvoidsSubqueryInSelectInGetNodesHierarchy
   Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:241

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:241

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:241

8) Gedmo\Tests\Tree\ClosureTreeRepositoryTest::testNotHavingLevelPropertyUsesASubqueryInSelectInGetNodesHierarchy
   Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryWithoutLevelClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:254

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryWithoutLevelClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:254

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryWithoutLevelClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:254

9) Gedmo\Tests\Tree\ClosureTreeRepositoryTest::testChangeChildrenIndex
   Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:267

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:267

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:583
/tests/Gedmo/Tree/ClosureTreeRepositoryTest.php:267

10) Gedmo\Tests\Tree\ClosureTreeTest::testClosureTree
    Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

11) Gedmo\Tests\Tree\ClosureTreeTest::testUpdateOfParent
    Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

12) Gedmo\Tests\Tree\ClosureTreeTest::testAnotherUpdateOfParent
    Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

13) Gedmo\Tests\Tree\ClosureTreeTest::testBranchRemoval
    Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

14) Gedmo\Tests\Tree\ClosureTreeTest::testSettingParentToChild
    Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

15) Gedmo\Tests\Tree\ClosureTreeTest::testIfEntityHasNotIncludedTreeLevelFieldThenDontProcessIt
    Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

16) Gedmo\Tests\Tree\ClosureTreeTest::testCascadePersistTree
    Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

17) Gedmo\Tests\Tree\ClosureTreeTest::testPersistOnRightEmInstance
    Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

18) Gedmo\Tests\Tree\ClosureTreeTest::testClosuresCreatedMustNotBeAffectedByPersistOrder with data set "order-123" (Gedmo\Tests\Tree\Fixture\Closure\Category Object (...), Gedmo\Tests\Tree\Fixture\Closure\Category Object (...), Gedmo\Tests\Tree\Fixture\Closure\Category Object (...))
    Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

19) Gedmo\Tests\Tree\ClosureTreeTest::testClosuresCreatedMustNotBeAffectedByPersistOrder with data set "order-132" (Gedmo\Tests\Tree\Fixture\Closure\Category Object (...), Gedmo\Tests\Tree\Fixture\Closure\Category Object (...), Gedmo\Tests\Tree\Fixture\Closure\Category Object (...))
    Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

20) Gedmo\Tests\Tree\ClosureTreeTest::testClosuresCreatedMustNotBeAffectedByPersistOrder with data set "order-213" (Gedmo\Tests\Tree\Fixture\Closure\Category Object (...), Gedmo\Tests\Tree\Fixture\Closure\Category Object (...), Gedmo\Tests\Tree\Fixture\Closure\Category Object (...))
    Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

21) Gedmo\Tests\Tree\ClosureTreeTest::testClosuresCreatedMustNotBeAffectedByPersistOrder with data set "order-231" (Gedmo\Tests\Tree\Fixture\Closure\Category Object (...), Gedmo\Tests\Tree\Fixture\Closure\Category Object (...), Gedmo\Tests\Tree\Fixture\Closure\Category Object (...))
    Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

22) Gedmo\Tests\Tree\ClosureTreeTest::testClosuresCreatedMustNotBeAffectedByPersistOrder with data set "order-312" (Gedmo\Tests\Tree\Fixture\Closure\Category Object (...), Gedmo\Tests\Tree\Fixture\Closure\Category Object (...), Gedmo\Tests\Tree\Fixture\Closure\Category Object (...))
    Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

23) Gedmo\Tests\Tree\ClosureTreeTest::testClosuresCreatedMustNotBeAffectedByPersistOrder with data set "order-321" (Gedmo\Tests\Tree\Fixture\Closure\Category Object (...), Gedmo\Tests\Tree\Fixture\Closure\Category Object (...), Gedmo\Tests\Tree\Fixture\Closure\Category Object (...))
    Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
/vendor/doctrine/dbal/src/Connection.php:1935
/vendor/doctrine/dbal/src/Connection.php:1878
/vendor/doctrine/dbal/src/Connection.php:1206
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: CategoryClosure.ancestor

/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69
/vendor/doctrine/dbal/src/Logging/Statement.php:98
/vendor/doctrine/dbal/src/Connection.php:1200
/vendor/doctrine/dbal/src/Connection.php:806
/src/Tree/Strategy/ORM/Closure.php:333
/src/Tree/TreeListener.php:246
/vendor/doctrine/event-manager/src/EventManager.php:41
/vendor/doctrine/orm/lib/Doctrine/ORM/Event/ListenersInvoker.php:98
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1201
/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:443
/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
/tests/Gedmo/Tree/ClosureTreeTest.php:446
/tests/Gedmo/Tree/ClosureTreeTest.php:60

--

There was 1 failure:

1) Gedmo\Tests\Tree\MaterializedPathORMTest::testInsertUpdateAndRemove
   Failed asserting that two strings are identical.
   --- Expected
   +++ Actual
   @@ @@
   -'1-4'
   +'1-2'

/tests/Gedmo/Tree/MaterializedPathORMTest.php:90

ERRORS!
Tests: 509, Assertions: 2694, Errors: 23, Failures: 1, Skipped: 73.
Tests with PHP 8.2 + ORM 2.16.1 + doctrine/orm#10915
PHPUnit 9.6.11 by Sebastian Bergmann and contributors.

Testing
...........S.......SS...S....SSSSS.............................  63 / 509 ( 12%)
...........................SS..SS.........S..................SS 126 / 509 ( 24%)
S.........................SSSSSSSSS............................ 189 / 509 ( 37%)
..........................SSSSSSSSSSSS.............F........... 252 / 509 ( 49%)
..................................................SSSS........S 315 / 509 ( 61%)
S....S....SS..............SSS..............SSS................. 378 / 509 ( 74%)
........................SS.........SSSSS............SSS........ 441 / 509 ( 86%)
.........................................................SSSSSS 504 / 509 ( 99%)
.SSSS                                                           509 / 509 (100%)

Time: 00:03.172, Memory: 80.00 MB

There was 1 failure:

1) Gedmo\Tests\Tree\MaterializedPathORMTest::testInsertUpdateAndRemove
   Failed asserting that two strings are identical.
   --- Expected
   +++ Actual
   @@ @@
   -'1-4'
   +'1-2'

/tests/Gedmo/Tree/MaterializedPathORMTest.php:90

FAILURES!
Tests: 509, Assertions: 2962, Failures: 1, Skipped: 73.

@robinbrisa
Copy link

Unfortunately still having the same issue with doctrine/orm 2.16.2, which includes doctrine/orm#10915

@mpdude
Copy link

mpdude commented Sep 2, 2023

PostgreSQL sequences…? Maybe this is doctrine/orm#10927

@xVinniVx
Copy link

xVinniVx commented Sep 3, 2023

I have the same issue. Is there any solution?

@robinbrisa
Copy link

At the moment the best solution is to rollback to Doctrine 2.15

@Chris53897
Copy link
Contributor Author

@mpdude is correct with the linked issue.
Postgres User should stick to 2.15.5 until this is fixed and released in doctrine/orm.

It works for me, after i add a migration and rename the sequence. But than it need to changed back after the fix is done.
$this->addSql('ALTER SEQUENCE ext_log_entries_id_seq RENAME TO abstract_log_entry_id_seq;');

So i do not recommend that.

@mpdude
Copy link

mpdude commented Jan 16, 2024

I don’t understand what exactly the error regarding sequences was, but could anybody affected try and report if doctrine/orm#11050 resolved it?

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Jul 15, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants