Hi anyone!
Why i can't normally import sample.csv:

url,utitle,title
http://sample.ru,urltitle,articletitle

Screen of content type: http://s1.hostingkartinok.com/uploads/images/2012/02/6567f1fb19d09f6a4fa...

Screen of node processor mapping: http://s1.hostingkartinok.com/uploads/images/2012/02/33d72a248ee13c30409...

After importing i get this node: http://s1.hostingkartinok.com/uploads/images/2012/02/9133e2186510913fba1...

Why "urltitle" go to "url" in "field_url", and where i lost "url" from import file??

BTW: Does exists anyway import many urls to one node?

Comments

megachriz’s picture

Component: Feeds Import » Code
Issue summary: View changes
Status: Active » Closed (works as designed)

Tested and confirmed this is no longer an issue.

I also digged into the past of the code for feeds/mappers/link.inc. There I saw that there was a bug at the time this issue was created:

if (strstr($target, 'url')) {

Since the field name contained 'url' here, Feeds assumed that the provided target was 'field_link:url' in all cases.

This was fixed in http://cgit.drupalcode.org/feeds/commit/?id=714c9e3514380d668270a931234b...