Closed (fixed)
Project:
Feeds Tamper
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jun 2012 at 20:47 UTC
Updated:
26 Sep 2013 at 05:21 UTC
I have an importer with a mapper that imports a pipe-separated list of jpg URLs from a CSV into a media_internet image field. The mapper has the feeds tamper explode list plugin configured. It works perfectly when no limit is set on the explode plugin.
However, when the explode plugin limit is set to "0" or "1", the import completes with no errors, but some of the created nodes to not get any values from the list. In other words, if I set a limit on the tamper plugin, the nodes import but not all of them get image values. I see no pattern as to why it imports some and not others. All I know is that when do not set a limit, everything works fine.
Comments
Comment #1
twistor commentedThis should be fixed in a http://drupalcode.org/project/feeds_tamper.git/commit/78d78fe
You really don't want to use the limit, except for very specific reasons. When you know that your separator will appear more than once in a string, and it shouldn't be split.