Skip to content
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

[4.x]: GraphQL entry revision not returning Matrix fields #14448

Closed
ph1lb4 opened this issue Feb 22, 2024 · 3 comments
Closed

[4.x]: GraphQL entry revision not returning Matrix fields #14448

ph1lb4 opened this issue Feb 22, 2024 · 3 comments

Comments

@ph1lb4
Copy link

ph1lb4 commented Feb 22, 2024

What happened?

Description

Querying an entry and its revision does only return Matrix fields for the entry but not its revisions.

Steps to reproduce

  1. Create an entry type with a Matrix.
  2. Query all revisions for this entry type.
  3. The revisions will not have the Matrix values attached, only the "normal" entry has.

Expected behavior

The revisions return the Matrix fields with the value at the time of the revision

Actual behavior

The revisions return no Matrix fields at all

image

Craft CMS version

4.7.3

PHP version

8.1.27

Operating system and version

Linux 6.3.13-linuxkit

Database type and version

MariaDB 10.4.32

Image driver and version

Imagick 3.7.0 (ImageMagick 6.9.11-60)

Installed plugins and versions

  • Amazon S3 2.0.3
  • Redactor
@brandonkelly
Copy link
Member

Thanks for reporting that! Fixed for the next release.

@brandonkelly
Copy link
Member

Craft 4.8.0 is out now with that fix.

@ph1lb4
Copy link
Author

ph1lb4 commented Feb 27, 2024

That was fast @brandonkelly, thanks for the fix - and already confirmed it is working now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants