Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Data issue when using Simple Grid as a column inside a Grid that is available to a Fluid Field

Status Resolved
Add-on / Version Simple Grids & Tables 1.0.2
Severity
EE Version 4.3.3

Jennifer Martin

Aug 06, 2018

Description:
Data is saved as different Grid rows instead of different Simple Grid rows within the same Grid row.  See image, it’ll explain way better.

Detailed steps to reproduce the issue:
1.  Create a Grid field where one of the columns is a Simple Grid with 2 test columns
2.  Don’t name columns col1, col2, etc - that throws PHP errors (maybe a side-trivial issue, but not the focus of this ticket)
3.  Create a Fluid field with the Grid field from #1 available to it & assign to any channel
4.  Edit any entry in the channel, try adding a block to the Fluid Field, then a single row to the Grid field, then multiple rows to the Simple Grid - then Save & Close.
5.  Re-edit the same entry and see the result.

License for this plugin is under our company account:  xynergy_inc or .(JavaScript must be enabled to view this email address)

Thanks in advance!
Justin (@pyrobob83 in Slack)

#1

BoldMinded (Brian)

Thanks, I’ll try to take a look at it this week.

#2

BoldMinded (Brian)

Just an update on this. I have started looking into it and have identified the problem and I’m close to a fix… hopefully have something to you early next week (or sooner).

#3

BoldMinded (Brian)

Comment has been marked private.

#4

Jennifer Martin

Hi Brian, Sorry, I tried the updated files and am still getting this issue - here’s the result after saving a single grid row with 3x rows in the Simple Grid: https://ibb.co/irB289

Thanks, Justin

#5

BoldMinded (Brian)

Make sure your browser cache is cleared. The updates were to JS files.

#6

Jennifer Martin

Hi Brian, I double-checked my cache was clear and still the same thing I’m afraid. Tried an incognito window and even in a different browser I’ve never been to this site before and the same thing still happens on all counts.

That said, I only just noticed the grid.js file in the root of your archive you sent me - which I haven’t done anything with… I see it’s also in the official 1.0.2 version, but I don’t see anything about it in the installation instructions. Is that file necessary somewhere?

Thanks, Justin

#7

BoldMinded (Brian)

Can you provide a login to your CP, and point me to an entry ID in which I can view the Fluid field with the Grid field in it?

#8

Jennifer Martin

Comment has been marked private.

#9

BoldMinded (Brian)

Comment has been marked private.

#10

BoldMinded (Brian)

Be aware of this issue: https://expressionengine.com/support/bugs/23692/if-a-fluid-field-contains-a-grid-and-that-same-grid-field-is-publish-page-data-go-boom

I don’t think this affects you, but I reported it when looking into this issue.

#11

Jennifer Martin

Thanks Brian, I did notice that, but wasn’t sure if it was specific to using Simple Grid within said Grid Field. Glad you reported it and Robin was able to replicate.

But you said that’s not the cause of the issue I’m seeing, correct?

Thanks, Justin

#12

BoldMinded (Brian)

Yeah, I don’t think that is the issue you’re seeing. With the latest code I can save a Simple Grid field that is inside of a Grid that is itself inside of a Fluid field.

#13

Jennifer Martin

Ah, yes, sorry - I missed comment #9 was from today and there was another version to try. Tested that and yes, that does seem to fix the problem after clearing the cache.

Thanks for getting this resolved!

Login to reply