Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/9.0' into feature/4746-rework-ca…
Browse files Browse the repository at this point in the history
…tchup-mechanism-3
  • Loading branch information
mhsdesign committed Dec 2, 2024
2 parents 44d73c3 + e9662ce commit 2555f7d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Domain/Repository/ProjectionContentGraph.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,13 @@ public function determineHierarchyRelationPosition(
throw new \RuntimeException(sprintf('Failed to load succeeding sibling relations for content stream %s, anchor point %s and dimension space point %s from database: %s', $contentStreamId->value, $succeedingSiblingAnchorPoint->value, $dimensionSpacePoint->toJson(), $e->getMessage()), 1716474854, $e);
}

if (!$succeedingSiblingRelation) {
throw new \RuntimeException(
sprintf('Could not fetch succeeding sibling relation for anchor point: %s with dimensionSpacePointHash : %s', $succeedingSiblingAnchorPoint->value, $dimensionSpacePoint->hash),
1696405259
);
}

$succeedingSiblingPosition = (int)$succeedingSiblingRelation['position'];
$parentAnchorPoint = NodeRelationAnchorPoint::fromInteger($succeedingSiblingRelation['parentnodeanchor']);

Expand Down

0 comments on commit 2555f7d

Please sign in to comment.