diff --git a/Neos.Neos/Classes/FrontendRouting/Projection/DocumentUriPathProjection.php b/Neos.Neos/Classes/FrontendRouting/Projection/DocumentUriPathProjection.php index 4adcba2389..36459b4aa3 100644 --- a/Neos.Neos/Classes/FrontendRouting/Projection/DocumentUriPathProjection.php +++ b/Neos.Neos/Classes/FrontendRouting/Projection/DocumentUriPathProjection.php @@ -209,7 +209,7 @@ private function whenNodeAggregateWithNodeWasCreated(NodeAggregateWithNodeWasCre } $propertyValues = $event->initialPropertyValues->getPlainValues(); - $uriPathSegment = $propertyValues['uriPathSegment'] ?? ''; + $uriPathSegment = $propertyValues['uriPathSegment'] ?? $event->nodeAggregateId->value; $shortcutTarget = null; if ($documentTypeClassification === DocumentTypeClassification::CLASSIFICATION_SHORTCUT) {