-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
status: blockedProgress halted due to dependencies or issuesProgress halted due to dependencies or issuestype: bugIssue that causes incorrect or unexpected behaviorIssue that causes incorrect or unexpected behavior
Description
Description
The "page_link" field type returns a ContentNode connection, which will resolve nodes of any "post" type.
However, the field type will allow "Archive URLs" to be selected, and if an Archive URL is selected, it will not be returned when querying for the page_link field.
Steps to reproduce
- Add a "page_link" field type to a field group
- Select "Allow Archive URLs" option
- Go edit a page with the field on it, adding an archive url as the value
- Query the node and the
page_linkfield:
EXPECTED: See the archive link output
ACTUAL: Archive's are not returned (this is technically expected right now because the connection is a ContentNode connection, but in an ideal world the connection would be to a Type that would allow ContentNode and/or Archives to be returned)
Additional context
Blocked by: wp-graphql/wp-graphql#2491
WPGraphQL Version
1.18.0
WPGraphQL For ACF Version
v2.0.0-beta.6.0.0
ACF (Advanced Custom Fields) Version. Free or Pro?
latest, pro
WordPress Version
6.4
PHP Version
8.2
Additional enviornment details
No response
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have disabled ALL plugins except for WPGraphQL, WPGraphQL For ACF, ACF, etc.
- Yes
- My issue is with compatibility with a specific WordPress plugin, and I have listed all my installed plugins (and version info) above.
Metadata
Metadata
Assignees
Labels
status: blockedProgress halted due to dependencies or issuesProgress halted due to dependencies or issuestype: bugIssue that causes incorrect or unexpected behaviorIssue that causes incorrect or unexpected behavior


