-
Notifications
You must be signed in to change notification settings - Fork 468
NodeByUri not resolving properly for media items #2178
Description
When using the path to a media item in a nodeByUri query, I get a null response.
This isn't happening on every environment I've tested, so it might be permalink related, but I cat replicate here:
Media Item Url:
http://wpgraphql-content.flywheelstaging.com/docs/debugging/screen-shot-2020-11-22-at-7-50-12-am/
Query for said url
returns null
Works on my machine!
This behavior works on my local setup:
Here's an image visited directly:
And the same image queried by uri in GraphQL:
Theories:
I would guess that this could have to do with a permalink setting. I've not compared my permalink rules across environments yet.
Another thing might be the model layer. It's possible that the Model Layer might be preventing the images from returning in some environments?
Not quite sure the root of the issue and still need to understand the exact steps to reproduce since I'm getting different behavior in different environments.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status


