diff --git a/Classes/CatchUpHook/DocumentUriPathProjectionHook.php b/Classes/CatchUpHook/DocumentUriPathProjectionHook.php index 2b6c44b..dd97482 100644 --- a/Classes/CatchUpHook/DocumentUriPathProjectionHook.php +++ b/Classes/CatchUpHook/DocumentUriPathProjectionHook.php @@ -195,6 +195,10 @@ private function handleNodeWasMoved(NodeAggregateWasMoved $event, \Closure $clos return; } + if (!$event->newParentNodeAggregateId) { + return; + } + foreach ($event->succeedingSiblingsForCoverage as $interdimensionalSibling) { $node = $this->findNodeByIdAndDimensionSpacePointHash($event->nodeAggregateId, $interdimensionalSibling->dimensionSpacePoint->hash); if ($node === null) {