Skip to content

Disabled Field Groups and syncing of JSON files #405

@hirasso

Description

@hirasso

Hi there,

I just updated to ACF PRO 5.9.3 on one of my sites. After updating, I noticed some strange behaviour with the syncing of JSON field groups: I get presented with a syncing option for all the field groups that are acf-disabled, even though I already had those in my databse before the ACF update.

When clicking sync for those, they are being imported as a duplicate of the already-installed field groups. Here's a screenshot after running the sync twice:

image

See how even the field group key is the same for the duplicates?

Some more background on my setup: I have one flexible content field 'Modules' that contains clones of my actual modules field groups, that I always name "Module: {{Module Name}}" and set to acf-disabled, so that I don't have to worry about them showing up anywhere except when cloned to my main "Modules" flexible content field.

You can see how in the screenshot there are two duplicates for each of the modules "Module: Iframe", "Module: Profile" and "Module: Accordeon". Clicking 'sync' again would create the next batch of duplicates...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions