What happened?
Description
When querying a modified entry in preview mode using GraphQL, the expected parent or ancestor data for the entry is not being returned.
The Issue only seems to ocurr when multiple entries are returned from the query.
Steps to reproduce
- Edit an entry that has a defined parent.
- Make a GraphQL request using the preview token.
- Include parent and ancestor fields in the query.
Expected behavior
The query should return the modified entry along with its parent and ancestor data, reflecting the hierarchy.
Actual behavior
The response does not include the parent or ancestor data for the modified entry in preview mode.
Craft CMS version
4.12.3
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
What happened?
Description
When querying a modified entry in preview mode using GraphQL, the expected parent or ancestor data for the entry is not being returned.
The Issue only seems to ocurr when multiple entries are returned from the query.
Steps to reproduce
Expected behavior
The query should return the modified entry along with its parent and ancestor data, reflecting the hierarchy.
Actual behavior
The response does not include the parent or ancestor data for the modified entry in preview mode.
Craft CMS version
4.12.3
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions