EE4/5 compatibility updates:

  • Publisher is EE4 and EE5 compatible, but it does not currently support the Fluid field (it's in the works).

Ticket: Simple Grid inside of grid, inside fluid field -  row saving issue, and simple grid file issue.

Status Open
Add-on / Version Simple Grids & Tables 1.1.0
Severity
EE Version 5.2.2

Aaron Jay

Apr 04, 2019

I’m having an issue with a simple grid field that’s contained within a grid field, within a fluid field.

It seems to be sporadic and it’s not clear what’s going on, but I don’t get any console errors or PHP errors.

I can add as many grid rows as I like and that’s fine. Actually, while testing and writing this, it appears to be perfect when you initially create an entry, but when I save an entry that exists after adding any new rows, the rows in the simple grid disappear. Sometimes I can get it to save one row, sometimes 2, sometimes none.

I’ve setup an example install for you to view this happening.

My second issue is related, in the same fields, if I upload an image (or other files) using the file field, it’s uploaded and attached to all simple grid file fields contained within the same fluid field. I need it to only attach to the selected simple grid row.

Actually, while writing and testing, there’s a 3rd related issue. The file field within simple grid outputs nothing on the front end.

In my example install, there is only one channel “Test Channel”, and the field(s) in question are “sg_within_g_within_fluid (the fluid field)”, and “simple_grid_within_grid”. Everything is running from the index.html template in the site.group template group.

#1

BoldMinded (Brian)

Apr 04, 2019

Hi, Aaron. This sounds like a bit of a complicated issue so it may be a few days before I can get an update to you.

#2

Aaron Jay

Apr 04, 2019

Hi Brian,

Okay, keep me posted.

Thanks,
Sam

#3

BoldMinded (Brian)

Apr 04, 2019

Comment has been marked private.

#4

Aaron Jay

Apr 05, 2019

Okay great, that works after deleting all of the existing entry content and trying again, otherwise, the grid rows now work, but the other two file related issues will still persist.

#5

BoldMinded (Brian)

Apr 08, 2019

This ticket was closed, maybe inadvertently, so I forgot about it. I’ll take a look at the image issue early this week.

#6

BoldMinded (Brian)

Apr 11, 2019

Aaron, I wasn’t able to replicate that. Images seemed to work fine for me: https://d.pr/i/pnhTCp

#7

Aaron Jay

2 days ago

Hi Brian,

Thanks, yes images seem to be fine now. I still seem to be having some issues with the file field again though.

I’ve been working on a site in development, and it can appear to be ok while editing initially. What seems to trigger the file persistence across rows is if you create empty rows, then save, then go back and attempt to attach files to those once empty rows. As soon as you do, that file will persist, and override the other file fields even in seperate simple grids held within seperate grid fields.

I’ve replicated this on my demo site with the latest build you’ve sent me. Can you take a look and let me know once you’ve figured something out?

Thanks

#8

BoldMinded (Brian)

2 days ago

I’ll take another look at it with the steps to reproduce that you just described, but it will be a few days until I can do so.

#9

BoldMinded (Brian)

2 days ago

This one might take more than a few days to figure out. I’m not sure what is happening. The JS is a React component, so I have to debug that.

#10

Aaron Jay

1 day ago

Ok, keep me in the loop anyway. It’s odd that it’s only doing it if you save an empty row then go back. I find if you save it once it’s replaced the file, it does actually overwrite all rows, so you can’t recover the data, and once it’s been saved like that, you need to delete all rows and start again.

Its probably some kind of state issue or something but we’ll see anyway.

Login to reply

Contact

For add-on support, please use the Support section. General inquries and pre-sale questions can be sent to support@boldminded.com.