AdvancedCustomFields / AdvancedCustomFields/acf

Flexible Content field resets itself

Open
#6 19 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
945
Forks
197
PR merge metrics
No merged PRs in 30d

Description

Issue

After creating layout sub fields and hit update on the custom field form everything is OK. After a few page updates with this custom fields, the custom fields reset itself. It sets all the the layout sub field to the first layout subfield.

I can temporary solve it by dragging all the layout subfields back to their original position, but after a while it resets again

Cause

This issue happens at random and I wasn't able to reproduce it for this issue, I did manage to take a screenshot after it happened.

issue

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reset through the custom field form and several page updates, using the linked screenshot as the observed result. Trace how Flexible Content layout subfields are saved and restored; done means their original order persists after repeated updates.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.