Closed (duplicate)
Project:
Feeds
Version:
7.x-2.0-alpha4
Component:
Feeds Import
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Oct 2011 at 13:28 UTC
Updated:
25 Oct 2011 at 21:19 UTC
This issue is similar to: http://drupal.org/node/1231522
This time i need multiple images imported form different fields in the XML to end up in one target Value.
The xml looks as follows:
<person_db01>
<!-- Tabel pu -->
<pu>
<id>1</id>
<foto1>http://www.boot10.nl/images/img_boot3.jpg</foto1>
<foto2>http://www.boot10.nl/images/pimg_events_bedrijfsfeesten.jpg</foto2>
<foto3>http://www.boot10.nl/images/pimg_events_themafeesten.jpg</foto3>
<logo>http://www.boot10.nl/images/bg_header.jpg</logo>
<provincieranking>0</provincieranking>
</pu>
</person_db01>
I'm using the XPath parser plugin to send foto1 foto2 and foto3 to the same target value but only one value ends up in the created node. I expected all values to end up in the node
Comments
Comment #1
johnvI think it is exactly the same case. The parser is not important (both csv and xml endup in the same internal structure).
The mapper is.
#1231522: Having multiple values in a CSV imported into one target value. gives a patch for mappers/taxonomy.inc . Perhaps you can apply a variant for mappers/file.inc ?
(And post the patch over at the other issue?)