I'm importing daily changes from our personnel data via a csv file.
The source file contains an employee id number which is used as a Unique id field for the import.
However there are multiple date fields in import file and only some of them contain a date for a given record. Dates that are irrelevant to a particular record change are empty. That is within the csv they look like this:
,"",
On import, Feeds is putting in today's date for any date field that is empty instead of just skipping it and leaving it empty in Drupal.
I can't find any settings with the importer interface to alter this behavior, nor have I seen anything within the content type field definitions options.
Is there a way to alter this behavior within Feeds?
Thanks for your help!
Comments
Comment #1
chilic CreditAttribution: chilic commentedI have a similar problem. To fix I use temper module.
Comment #2
bmenk CreditAttribution: bmenk commentedDo you mean the Feeds Tamper module? Could you provide some details on how you use it to fix this?
Thanks
Comment #3
bmenk CreditAttribution: bmenk commentedI've installed Feeds Tamper and for all the date fields, I've added this plugin: "Filter Empty Items", which sounds like it does what I want, which is to ignore empty fields rather than to insert today's date into them.
Doesn't seem to make any difference.
Is there some other plugin I should be applying to get this to work, or is this just not something I can do with Feeds & Feeds Tamper?
Comment #4
bmenk CreditAttribution: bmenk commentedI found the patch at #51 over in this thread which works for what I need for now.
Comment #5
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedThis is fixed as part of #1107522: Framework for expected behavior when importing empty/blank values + text field fix.