Skip to content

Commit

Permalink
TASK: Remove ContentStreamId from legacy NodeAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Jun 16, 2024
1 parent 368739e commit 4098da2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Controller/WorkspaceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4098da2

Please sign in to comment.