Skip to content

Fieldsets Sections - duplicate field being created upon subsequent field additions. #100

@skrolikowski

Description

@skrolikowski

What is the issue?

Duplicate Field records are saved (along with 500 error response) when new Fields are added to Sections in between saves without reloading the interface.

What are the steps to reproduce this issue?

  1. Navigate to an existing Fieldset page to edit.
  2. Add a new section, and then create a new field, and save the field.
  3. Save the updates made to the Fields/Fieldset (do not reload page).
  4. Now repeat starting at Step 2 (watching database and XHR requests for errors shown below).

What were you expecting to happen?

User should be able to modify Sections/Fields of a Fieldset multiple times without reloading the interface.

Any logs, error output, etc?

Screen Shot 2019-11-01 at 12 22 59 PM

☝️ Adding subsequent fields (prior to saving) after the `toggle` Field.

Screen Shot 2019-11-01 at 12 26 08 PM

☝️ Errors of saving after each new Field is added to a section.

Any other comments?

Duplicate records are saved even though a 500 response is reported when the Fieldset is saved.

What versions of software are you using?

Browser: Chrome (lastest)
FusionCMS: v6

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions