feed-me icon indicating copy to clipboard operation
feed-me copied to clipboard

Importing table field with [] creates a blank row on entry

Open joshwalsh opened this issue 3 years ago • 1 comments

Description

If you setup a table field on your entry, with no default value, and map it on import, you will get a blank table row inserted when the json value is an empty array.

Steps to reproduce

  1. Setup a table field and map it
  2. In the feed, set the value for that field to []
  3. Run the feed
  4. Check the entry, the table field will have an empty row

You can work around this by not including the field in the feed entirely.

Additional info

  • Craft version: 3.5.16
  • FeedMe version: 4.3.6
  • PHP version: 7.3.24

joshwalsh avatar Mar 26 '21 18:03 joshwalsh