AdvancedCustomFields / AdvancedCustomFields/acf

Duplicating a 'group' field is throwing a JS error

Open
#809 1 comment 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

Hi,

When trying to duplicate a group field, before saving the page, it throws a JS error, like shown below:
Scherm­afbeelding 2023-04-11 om 14 45 42

When saving the page before duplicating, it works. But again, if I save the page, duplicate a field, and duplicate that same field without saving, I get the same error.

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

No source file, test, or exact JavaScript error text is named. Reproduce the reported sequence with a group field—duplicate it twice without saving—and trace the affected field-duplication entry point; done means repeated duplication no longer throws the reported error before saving.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.