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
I tried to replicate the issue with PHP queries eg. Entry::find()->descendantOf(1234)->select('title')->column() but that worked as expected, so it does seem to be isolated to graphql.
If you clear the GraphQL cache under Utilities > Caches > Invalidate Data Caches > GraphQL queries, it does then return the correct response.
This issue only happens when moving an entry under a parent, not moving it from the parent.
Steps to reproduce
Set up an entry structure like this
Query the descendents of the parent using the parent's ID
What happened?
Description
Entry is missing after moving it to a new parent and querying descendants for it's new parent with graphql, eg. with
I tried to replicate the issue with PHP queries eg.
Entry::find()->descendantOf(1234)->select('title')->column()
but that worked as expected, so it does seem to be isolated to graphql.If you clear the GraphQL cache under Utilities > Caches > Invalidate Data Caches > GraphQL queries, it does then return the correct response.
This issue only happens when moving an entry under a parent, not moving it from the parent.
Steps to reproduce
Set up an entry structure like this
Query the descendents of the parent using the parent's ID
Get the expected result:
Move another entry under the same parent
Query again with the same curl request
Expected behavior
You should get
Actual behavior
You actually get the same result as before
Craft CMS version
4.8.9
PHP version
8.2
Operating system and version
ddev version v1.22.6
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: