diff --git a/Classes/Fusion/Helper/NodeInfoHelper.php b/Classes/Fusion/Helper/NodeInfoHelper.php index 99242bd3de..61b7b2660d 100644 --- a/Classes/Fusion/Helper/NodeInfoHelper.php +++ b/Classes/Fusion/Helper/NodeInfoHelper.php @@ -234,7 +234,7 @@ protected function getBasicNodeInformation(Node $node): array 'nodeAddress' => $nodeAddress->serializeForUri(), 'name' => $node->nodeName?->value ?? '', 'identifier' => $node->nodeAggregateId->jsonSerialize(), - 'nodeType' => $node->nodeType->getName(), + 'nodeType' => $node->nodeTypeName->value, 'label' => $node->getLabel(), 'isAutoCreated' => self::isAutoCreated($node, $subgraph), // TODO: depth is expensive to calculate; maybe let's get rid of this? @@ -293,7 +293,7 @@ protected function renderChildrenInformation(Node $node, string $nodeTypeFilterS $nodeAddressFactory = NodeAddressFactory::create($contentRepository); $infos[] = [ 'contextPath' => $nodeAddressFactory->createFromNode($childNode)->serializeForUri(), - 'nodeType' => $childNode->nodeType->getName() // TODO: DUPLICATED; should NOT be needed!!! + 'nodeType' => $childNode->nodeTypeName->value // TODO: DUPLICATED; should NOT be needed!!! ]; }; return $infos; diff --git a/Tests/IntegrationTests/TestDistribution/DistributionPackages/Neos.TestNodeTypes/Resources/Private/Fusion/Root.fusion b/Tests/IntegrationTests/TestDistribution/DistributionPackages/Neos.TestNodeTypes/Resources/Private/Fusion/Root.fusion index 9c5165e776..fe1d560a40 100644 --- a/Tests/IntegrationTests/TestDistribution/DistributionPackages/Neos.TestNodeTypes/Resources/Private/Fusion/Root.fusion +++ b/Tests/IntegrationTests/TestDistribution/DistributionPackages/Neos.TestNodeTypes/Resources/Private/Fusion/Root.fusion @@ -1,4 +1 @@ include: **/*.fusion -page = Neos.Fusion:Renderer { - type = ${documentNode.nodeType.name} -}