-
Notifications
You must be signed in to change notification settings - Fork 18
Clone Fields Do not work Properly #151
Copy link
Copy link
Closed
Labels
status: actionableReady for work to beginReady for work to begintype: bugIssue that causes incorrect or unexpected behaviorIssue that causes incorrect or unexpected behavior
Description
Description
I have same field Banner that are clone inside a flexible layout and article post type
When using graphql on these page with flexible layout and article
fields inside banner are dispaying null
Steps to reproduce
import fields
- create a new page and use banner inside the
flexible layoutfill the images and text fields - create a new post and fill the banner content there as well
- query for page as
query page($url:ID!){
page(id:$url,idType:URI){
pageComponents{
pageComponents{
... on PageComponentsPageComponentsBannerLayout{
banner{
title
subTitle
background{
image{
desktop{
node{
mediaItemUrl
}
}
mobile{
node{
mediaItemUrl
}
}
}
}
}
}
}
}
}
}
query for article as
query articles {
posts {
nodes {
articles {
banner {
banner {
banner {
title
subTitle
background {
image {
desktop {
node {
mediaItemUrl
}
}
mobile {
node {
mediaItemUrl
}
}
}
}
}
}
}
}
}
}
}
PHP or JSON export of the ACF Field Group(s)
acf-export-2024-01-11.json.zip
Additional context
example for page

example for article

WPGraphQL Version
1.19.0
WPGraphQL For ACF Version
2.0.0
ACF (Advanced Custom Fields) Version. Free or Pro?
Pro
WordPress Version
6.4.2
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status: actionableReady for work to beginReady for work to begintype: bugIssue that causes incorrect or unexpected behaviorIssue that causes incorrect or unexpected behavior