Could you elaborate on how this module is supposed to work? Looking at the code I assume some checkboxes should show up on the mapping, but I don't see this happening.
I followed this thread https://www.drupal.org/node/1107522, but it's not explained there either I think.

I tried to get it to work with some changes. In the end I started all over again and that works. But even after applying those changes to your module it doesn't work. Anyway, hereby the module I wrote based on yours. Hope it is of any use.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

infokleene’s picture

milossramek’s picture

Hi, according to the description your module is exactly what I need - no changes of fields not existing in an import feed (csv file in my case). However, does not work for me - the fields are reset. Should I switch this functionality on somewhere?

thanks
Milos

nntechnology’s picture

Hi, any chance of this becoming a published module? No checkboxes appear for me either, i tried with the dev release of Feeds as well but that caused errors. In the end i had to spend a lot of time figuring out how to hard code the fields that i wanted to ignore zeros, not ideal, but it was crucial for my customers site...

vbard’s picture

Hi.
I've got that module to work. Here is a patch and a whole module for those who don't want to go patching. I've done some testing, module seems to work good for all kind of field types I had in my testing project site.

milossramek’s picture

Hi,

I have just tried the full module of #4 - with no success, the fields still get deleted. Are there any settings?
--
milos

milossramek’s picture

FileSize
103.27 KB

Hi,

there must be settings somewhere - if the block

// Will do only if our setting on that mapping is set.
if (empty($mapping['feeds_empty_use_old']) ) {
continue;
}

in feeds_empty.feeds.inc is commented out, the module works as expected.

I would expect such settings in Structure/Feeds Importerd/.../settings/FeedsNodeProcessor, but there is no such thing there (pls see the screenshot node_proc_settings.png)
--
Milos

vbard’s picture

Hi MIlos!
You should expect seeing that settings in "Mapping" section and you can set it for every field separately. See screenshot.

milossramek’s picture

Oh, thank you, I did not expect the settings there - however, since each field can have different setting (which makes sense) this place is natural.

Thanks a lot again, I think this module should get out of the sandbox and become normally available.
Milos

NWOM’s picture

Category: Support request » Bug report
Status: Active » Needs work

Setting to Needs Review, since a patch is attached. I haven't tested it myself yet.