You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This leads to a necessary regression in the experimental plugin api of the neos ui: The javascript nodeTypesRegistry does not know about abstract node types! That means that for example fetching all subtypes of a mixin: getSubTypesOf wont work, as the schema doesnt contain the mixin.
This is generally not recommended to have such heavy logic computed on the frontend, instead the backend and frontendConfiguration should be preferred.
But to quickly fix this, you can use the internal api of the nodeTypeRoles like this:
This is not a real issue but rather document the state as is.
With the bugfix neos/neos-development-collection#4561 (in Neos 8.3.7 and later) the node type schema size was reduced and optimized.
This leads to a necessary regression in the experimental plugin api of the neos ui: The javascript
nodeTypesRegistry
does not know about abstract node types! That means that for example fetching all subtypes of a mixin:getSubTypesOf
wont work, as the schema doesnt contain the mixin.This is generally not recommended to have such heavy logic computed on the frontend, instead the backend and frontendConfiguration should be preferred.
But to quickly fix this, you can use the internal api of the
nodeTypeRoles
like this:this leads to the node type still being included in the schema generation and thus makes
getSubTypesOf
function as previously.The text was updated successfully, but these errors were encountered: