Skip to content

Commit

Permalink
Merge pull request #4384 from neos/bugfix/migratelegacydataWarnIfNoVa…
Browse files Browse the repository at this point in the history
…lidContentDimensionConfiguration

Bugfix: `migratelegacydata` warn if no valid content dimension configuration
  • Loading branch information
skurfuerst authored Jul 7, 2023
2 parents a8ed9bc + 0da08d8 commit f4ed836
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public function processNodeDataWithoutFallbackToEmptyDimension(NodeAggregateId $
$nodePath = NodePath::fromString(strtolower($nodeDataRow['path']));
$parentNodeAggregate = $this->visitedNodes->findMostSpecificParentNodeInDimensionGraph($nodePath, $originDimensionSpacePoint, $this->interDimensionalVariationGraph);
if ($parentNodeAggregate === null) {
$this->dispatch(Severity::ERROR, 'Failed to find parent node for node with id "%s" and dimensions: %s. The old CR can sometimes have orphaned nodes.', $nodeAggregateId->value, $originDimensionSpacePoint->toJson());
$this->dispatch(Severity::ERROR, 'Failed to find parent node for node with id "%s" and dimensions: %s. Please ensure that the new content repository has a valid content dimension configuration. Also note that the old CR can sometimes have orphaned nodes.', $nodeAggregateId->value, $originDimensionSpacePoint->toJson());
return;
}
$pathParts = $nodePath->getParts();
Expand Down

0 comments on commit f4ed836

Please sign in to comment.