-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Rector migration for usage of node.parent
doesn't work
#29
Comments
Good catch! Maybe someone of the experts can tell us what the correct replacement is? |
As I see from my cellphone flowQuery “parent”|”parents” is implemented. This migration might be not needed at all. |
It's actually not FlowQuery it was the removed getter of the Node. |
How about converting that to q(node).parent().get(0) |
github-project-automation
bot
moved this from Under Review 👀
to Done ✅
in Neos 9.0 Release Board
Oct 27, 2023
It still warns about |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
parent()
orparents()
You may need to rewrite "VARIABLE.parent" to Neos.NodeAccess.findParent(VARIABLE).
But I found no matching eel helper.The text was updated successfully, but these errors were encountered: