Example of the problem:
CSV file:
Name,Address,State
TestName,,Texas
Display when viewing node in Drupal:
Name: TestName
Address: null
State: Texas
I would expect it to show as:
Name: TestName
Address:
State: Texas
It seems like it is populated the field with a string = "null" rather than a null value
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | feeds-avoid_null_value-1671186-1.patch | 729 bytes | barig |
Comments
Comment #1
barig commentedHi,
Just a little patch I found for D6 and adapted to D7.
In my case, "0" was treated as null ( empty(0) = true ).
This patch is generated from 7.x-2.0-alpha8.
Hope it helps ! ( a little late I think but who knows ;) )
Comment #2
barig commentedComment #4
megachrizI don't think this is a problem anymore, at least in dev. See #1107522: Framework for expected behavior when importing empty/blank values + text field fix. Closing this issue as a duplicate.