Skip to content

Clone Fields inherit the name of the cloned field #125

@iamjonasmarlo

Description

@iamjonasmarlo

Description

I have a problem with the Clone Fields. These take over the name of the cloned field in the query.

Specifically, I have a field group with the name "Content" (content). Various fields are created here. Now I have a second field group with the name "Layout". Here there are two clones "MainContent" (maincontent) and "Sidebar" (sidebar). Both clone fields reference the "Content" (content) field group. The query now only displays "content", no longer "Sidebar".

01

02

Steps to reproduce

  1. Create a Fieldgroup with some fields in it
  2. Create a second Fieldgroup with two clones of the first one (the names are different)
  3. Only one clone ist visible in the API

PHP or JSON export of the ACF Field Group(s)

No response

Additional context

No response

WPGraphQL Version

1.19.0

WPGraphQL For ACF Version

Version 2.0.0-beta.6.0.0

ACF (Advanced Custom Fields) Version. Free or Pro?

Pro | 6.2.3

WordPress Version

6.4.1

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

compat: possible breakThere is a possibility that this might lead to breaking changes, but not confirmed yetstatus: actionableReady for work to begintype: bugIssue that causes incorrect or unexpected behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions