Description
If I have "Set Empty Values" turned on, then any item in the feed with an empty string "" causes the import to decide it has changed. Obviously with compareContent = false in the config, it's meant to always resave. But what I'm finding is that even with compareContent = true it still decides the items have changed if they have empty strings even if they always had empty strings before and after the import. If I then turn off "Set Empty Values" they are correctly skipped. But I can't turn off "Set Empty Values" in this particular use case because the client does clear values on the feed. This is slowing down my imports to the point that they are piling up and causing problems. Thanks for looking into it!
Steps to reproduce
- Add compareContent = true to the config
- Create a feed with "Set Empty Values" on
- Load a json file that has empty strings mapped to plain text fields
- Observe that every time you run the feed it updates all the entries, even if nothing has changed.
Additional info
- Craft version: 4.13.5
- PHP version: 8.2
- Database driver & version: MySQL 5.7.39
- Plugins & versions: Feed Me 5.9.0
Not sure if this is related at all, but you guys fixed a bug for me having to do with "Set Empty Values" a couple months ago here #1560