From 22eb7e4ea1b70d40dd800c242fc3af4eb349a67e Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Wed, 27 Nov 2024 21:56:34 +0100 Subject: [PATCH] TASK: Move transactional logic _on_ projection as it does not belong to the subscription store ... which technically only coincidentally uses the same connection and dbal instance see https://github.com/neos/neos-development-collection/pull/5321#issuecomment-2495670705 --- src/Domain/Projection/HypergraphProjection.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Domain/Projection/HypergraphProjection.php b/src/Domain/Projection/HypergraphProjection.php index 5961442..69ab40e 100644 --- a/src/Domain/Projection/HypergraphProjection.php +++ b/src/Domain/Projection/HypergraphProjection.php @@ -40,6 +40,7 @@ use Neos\ContentRepository\Core\Feature\SubtreeTagging\Event\SubtreeWasTagged; use Neos\ContentRepository\Core\Feature\SubtreeTagging\Event\SubtreeWasUntagged; use Neos\ContentRepository\Core\Infrastructure\DbalSchemaDiff; +use Neos\ContentRepository\Core\Infrastructure\ProjectionTransactionTrait; use Neos\ContentRepository\Core\Projection\ContentGraph\ContentGraphProjectionInterface; use Neos\ContentRepository\Core\Projection\ContentGraph\ContentGraphReadModelInterface; use Neos\ContentRepository\Core\Projection\ProjectionStatus; @@ -52,6 +53,8 @@ */ final class HypergraphProjection implements ContentGraphProjectionInterface { + use ProjectionTransactionTrait; + use ContentStreamForking; use NodeCreation; use SubtreeTagging;