Skip to content

Grid rows duplicated in Fluid field #3261

@robinsowell

Description

@robinsowell

Really weird one. EE 7.2.14 (but also in some older versions of 7).

I have a channel, only has 1 field- a fluid field.

Fluid field only has 1 field- grid field.

Grid field has 3 columns, a select, a text, a file field.

I start a new entry, add my grid field via fluid, add 1 row- fill out each column. Preview. It all looks good.

I add another grid field (not another row in existing)- repeat above, preview. I get a php error on the preview page. Close preview. Save. Entry saves ok, but there is an extra empty row added to my second grid field.

Error I saw:

Screenshot 2023-04-11 at 1 46 50 PM

Saved entry- not the extra empty grid row:

Screenshot 2023-04-11 at 2 16 15 PM

It's definitely quirky. When I first tried replicating locally, I just had a text and a file field in my grid and I couldn't replicate. The user reporting also had a manually populated select field in their grid, so I added that and I replicated! Though- user didn't report the php error I was seeing (but that could have been error settings).

Thinking it was something specific to selects, I tried replicating with a grid field that ONLY had 1 select field in it, but I didn't replicate with that.

Not sure what's up. Was weird. But I can reproduce it.

Metadata

Metadata

Labels

Bug: AcceptedBug has been confirmed, is reproducible, and ready to work on.javascriptPull requests that update Javascript code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions