Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Wrong result in NodeType->isOfType() if a superType of a Mixin is disabled #1983
Steps to Reproduce
Given we have a "Person"-NodeType which is only accessible in the backend:
And than we use the "Person" NodeType as superType for a new NodeType "Speaker" which has to be accessible in the Frontend too:
Actual and expected behavior
This works in the Neos Backend, inspector, etc.
But if we check for it with EEL/FlowQuery
The method NodeType->isOfType() doesn't know that there should be a superType disabled, because NodeType->declaredSuperTypes don't list which should be disabled but also don't remove the overwritten ones.
At least Neos 3.3
I could fix my specific problem by replacing
But I don't see the whole picture and I think that this maybe has to be fixed on the declaredSuperTypes level.