diff --git a/Neos.Neos/Classes/Service/NodeTypeSchemaBuilder.php b/Neos.Neos/Classes/Service/NodeTypeSchemaBuilder.php index 43c51b5495d..46a76f65d14 100644 --- a/Neos.Neos/Classes/Service/NodeTypeSchemaBuilder.php +++ b/Neos.Neos/Classes/Service/NodeTypeSchemaBuilder.php @@ -75,15 +75,16 @@ public function generateNodeTypeSchema() } foreach ($nodeTypes as $nodeTypeName => $nodeType) { + // Skip abstract nodetypes which might have been added by the Neos.UI `nodeTypeRoles` configuration if ($nodeType->isAbstract() === false) { $configuration = $nodeType->getFullConfiguration(); $schema['nodeTypes'][$nodeTypeName] = $configuration; $schema['nodeTypes'][$nodeTypeName]['label'] = $nodeType->getLabel(); - - // Remove the postprocessors, as they are not needed in the UI - unset($schema['nodeTypes'][$nodeTypeName]['postprocessors']); } + // Remove the postprocessors, as they are not needed in the UI + unset($schema['nodeTypes'][$nodeTypeName]['postprocessors']); + $subTypes = []; foreach ($this->nodeTypeManager->getSubNodeTypes($nodeType->getName(), false) as $subNodeType) { $subTypes[] = $subNodeType->getName();