I am using the Feeds module to try to import a feed from an old site to a new one and I want to retain the node id of the items in question. I have the node id for the items from the old site showing up in the xml as the GUID. Here is what it looks like ...

<item>
 <title>episode 14 image</title>
 <link>http://www.thesourceshow.org/node/196</link>
 <description>blahblahblah</description>
 <comments>http://www.thesourceshow.org/node/196#comments</comments>
 <pubDate>Wed, 06 Jul 2011 12:01:59 -0400</pubDate>
 <dc:creator>anewcomb</dc:creator>
 <guid isPermaLink="false">196</guid>
</item>

I have the GUID mapped to Node ID, but every time I try to import my feed I just get the following identical log entry for each feed item and nothing is created.

Undefined property: stdClass::$vid in drupal_write_record() (line 6855 of /var/www/thesourceshow.new/includes/common.inc).

Anyone have any clue as to how I can make this work??

Comments

anewcomb’s picture

I found the temporary fix at http://drupal.org/node/1046916. The issue is a problem in the way FeedsNodeProcessor.inc handles creating new nodes.