All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Grid not saving in LV 3.3.0/EE 5.2.2

Derek 12 Apr 2019 20:08 problem, complete

Hey Low - I have a fresh EE 5.2.2 install for an in-development site. I created a new Grid with three columns - two text inputs and a File field.

Adding one or more rows, it won't save. It just refreshes back to the group screen with an empty Grid field.

variable_data is empty for the global variable. exp_low_variables_grid_field_X exists, but is empty.

Any ideas where I can start troubleshooting?

Replies

  1. Low 13 Apr 2019 11:13

    So, no error messages? Do other vars in the group save okay?

  2. Derek 14 Apr 2019 18:47

    Correct on both counts - no error messages, and other vars in the group save just fine.

  3. Low 15 Apr 2019 06:27

    For each Grid column, what are the field settings? Any fields marked as required or included in search?

  4. Derek 15 Apr 2019 14:45

    All three columns in the Grid are marked as required and searchable. Removing both options doesn't change the outcome unfortunately.

  5. Low 16 Apr 2019 10:29

    Tricky to debug without adding breakpoints. I'll need to take a look myself. Please send SuperAdmin login credentials to hi at gotolow dot com if you can.

  6. Derek 16 Apr 2019 15:45

    Unfortunately this is local, so I can't get you in. But I have narrowed the issue down to the presence of a File field in the Grid. Once I remove that File column, the Grid works just fine.

    I think something about the File field might be resetting the "name" and "id" properties on the Grid fieldtype, so when it tries to set and get the cached data for post_save, it comes up empty.

  7. Low 16 Apr 2019 18:58

    And what if that column is there but you leave it be? Do other columns save ok?
    If the file column craps out, you don't get a 'Saved vars except:...' message (indicating there was a validation error for the Grid field)?

  8. Derek 17 Apr 2019 21:03

    Sorry Low, ran out of time to troubleshoot this, and broke it out into a channel and Select Entries var instead. If I find more time at the end of the project I will revisit!

  9. Low 18 Apr 2019 06:57

    Alrighty. It was sounding more and more like an issue with the native File field in Grid. Let me know if you need more help.

  10. Caroline C. Blaker 8 Jun 2019 00:19

    I'm having this problem, exactly, except with Assets. You can look at mine. Strange thing is: it used to work!

    http://516arts.brownrice.com/

    The images on 3 cards on the home page have disappeared and cannot be re-added.

    Low 8 Jun 2019 08:08

    Could well be an Assets issue, as that add-on is responsible for saving its data via LV. Have you asked EEharbor?

    Caroline C. Blaker 10 Jun 2019 18:06

    I'm going to create a new topic.