Skip to content

Commit 2a0c059

Browse files
Update Neos.Neos/Classes/FrontendRouting/EventSourcedFrontendNodeRoutePartHandler.php
Co-authored-by: Marc Henry Schultz <85400359+mhsdesign@users.noreply.github.com>
1 parent f4131ff commit 2a0c059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Neos.Neos/Classes/FrontendRouting/EventSourcedFrontendNodeRoutePartHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public function matchWithParameters(&$requestPath, RouteParameters $parameters)
237237
throw new NodeNotFoundException('No Sites Node found in the Content Graph. Please run the setup tool at /setup, which describes the steps to import a site.', 1762418159, $exception);
238238
}
239239
if (!$sitesNodeAggregate->coversDimensionSpacePoint($dimensionSpacePoint)) {
240-
throw new NodeNotFoundException('The Neos.Neos:Sites root node does not cover the resolved dimension space point ' . $dimensionSpacePoint->toJson() . ". This can happen for the following reasons: \n - 1. dimension config in Neos.ContentRepositoryRegistry.contentRepositories.default.contentDimensions does not match Site Dimension Routing Configuration in Neos.Neos.sites.*.contentDimensions.resolver \n - 2. configured dimension configuration does not match the dimensions in the database.\n\n To debug this further, see https://docs.neos.io/guide/content-repository/content-dimensions/migrating-dimension-config or run the setup tool at /setup, which contains further diagnostics.", 1762418208, $exception);
240+
throw new NodeNotFoundException('The Neos.Neos:Sites root node does not cover the resolved dimension space point ' . $dimensionSpacePoint->toJson() . ". This can happen for the following reasons: \n - 1. dimension config in Neos.ContentRepositoryRegistry does not match site dimension routing configuration in Neos.Neos.sites \n - 2. configured dimension configuration does not match the dimensions in the database.\n\n To debug this further, see https://docs.neos.io/guide/content-repository/content-dimensions/migrating-dimension-config or run the setup tool at /setup, which contains further diagnostics.", 1762418208, $exception);
241241
}
242242
});
243243

0 commit comments

Comments
 (0)