Skip to content

Commit

Permalink
Update Neos.Neos/Classes/PendingChangesProjection/ChangeProjection.php
Browse files Browse the repository at this point in the history
Co-authored-by: Marc Henry Schultz <[email protected]>
  • Loading branch information
dlubitz and mhsdesign authored Dec 4, 2024
1 parent 0daad52 commit 8b63013
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ private function whenNodeAggregateWasMoved(NodeAggregateWasMoved $event): void
foreach ($affectedDimensionSpacePoints as $affectedDimensionSpacePoint) {
// always the case due to constraint enforcement (at least one DSP is selected and must have a succeeding sibling or null)

// WORKAROUND: we simply use the events DSPs here as the origin dimension space point.
// But this DSP is not necessarily occupied.
// @todo properly handle this by storing the necessary information in the projection
// We simply use the events DSPs here to store them as `Change` in even if the DSP is not necessarily occupied.
// this is not problematic as the DSP should only be used for providing additional information where a change has effects instead of locating its origin
// todo possibly rename in the `Change` the field to '$affectedDimensionSpacePoint' field instead, as well use it now like that.

$this->markAsMoved(
$event->getContentStreamId(),
Expand Down

0 comments on commit 8b63013

Please sign in to comment.