AdvancedCustomFields / acf

Advanced Custom Fields
http://advancedcustomfields.com/
823 stars 168 forks source link

User field stopped showing in GraphQL query #917

Open lindseybradford opened 3 weeks ago

lindseybradford commented 3 weeks ago

Describe the bug User field type stopped surfacing populated values to GraphQL

To Reproduce Steps to reproduce the behavior:

  1. Add a User Field Type to a Field Group that appears on Posts
  2. In a post, add a user to the field and save
  3. Refresh and see that the user is visibly saved to the field
  4. Go to GraphQL IDE and query for the field group + user field on the post
  5. See that the query returns null or empty [] array

Expected behavior The saved user value should show in the GraphQL query and not just the post editing interface

Screenshots or Video https://www.loom.com/share/4af11b22f39745909505d3635c1b0750?sid=c1e06f9d-f83d-4e62-97ec-f92e51577e84

Code acf-export-2024-06-11.json

Version Information:

Additional context This was working about a week ago? Sometime, roughly in the past 2 weeks, it stopped on all authors but one. One user comes through to the query—the rest don't. All plugins above were updated to latest today.