From 4098da279db99639bf4facb238826299c2cee579 Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Sun, 16 Jun 2024 18:06:05 +0200 Subject: [PATCH] TASK: Remove `ContentStreamId` from legacy NodeAddress see https://github.com/neos/neos-development-collection/issues/5043 --- Classes/Controller/WorkspaceController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/Controller/WorkspaceController.php b/Classes/Controller/WorkspaceController.php index 2ba5e17..b77ebe0 100644 --- a/Classes/Controller/WorkspaceController.php +++ b/Classes/Controller/WorkspaceController.php @@ -493,7 +493,7 @@ public function rebaseAndRedirectAction(string $targetNode, Workspace $targetWor if ($this->packageManager->isPackageAvailable('Neos.Neos.Ui')) { // todo remove me legacy $legacyTargetNodeAddressInPersonalWorkspace = new LegacyNodeAddress( - $personalWorkspace->currentContentStreamId, + null, $targetNodeAddressInPersonalWorkspace->dimensionSpacePoint, $targetNodeAddressInPersonalWorkspace->aggregateId, $targetNodeAddressInPersonalWorkspace->workspaceName @@ -839,7 +839,7 @@ protected function computeSiteChanges(Workspace $selectedWorkspace, ContentRepos // we can't create `serializedNodeAddress` from the node. // Instead, we use the original stored values. $nodeAddress = new LegacyNodeAddress( - $change->contentStreamId, + null, $change->originDimensionSpacePoint->toDimensionSpacePoint(), $change->nodeAggregateId, $selectedWorkspace->workspaceName