diff --git a/Neos.ContentRepository.StructureAdjustment/src/Adjustment/PropertyAdjustment.php b/Neos.ContentRepository.StructureAdjustment/src/Adjustment/PropertyAdjustment.php index 15613865d14..d0596cdfb93 100644 --- a/Neos.ContentRepository.StructureAdjustment/src/Adjustment/PropertyAdjustment.php +++ b/Neos.ContentRepository.StructureAdjustment/src/Adjustment/PropertyAdjustment.php @@ -116,8 +116,8 @@ private function publishNodePropertiesWereSet( ): EventsToPublish { $events = Events::with( new NodePropertiesWereSet( - $node->workspaceName, - $node->subgraphIdentity->contentStreamId, + $this->contentGraph->getWorkspaceName(), + $this->contentGraph->getContentStreamId(), $node->aggregateId, $node->originDimensionSpacePoint, $nodeAggregate->getCoverageByOccupant($node->originDimensionSpacePoint), @@ -126,7 +126,7 @@ private function publishNodePropertiesWereSet( ) ); - $streamName = ContentStreamEventStreamName::fromContentStreamId($node->subgraphIdentity->contentStreamId); + $streamName = ContentStreamEventStreamName::fromContentStreamId($this->contentGraph->getContentStreamId()); return new EventsToPublish( $streamName->getEventStreamName(), $events,