Duplicate nodes created for each cron run

geodaniel - August 15, 2008 - 16:47
Project:Activity Stream
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Each time cron is run and the feeds are pulled in again, new nodes are created even if they had been previously created on an earlier cron run. This leads to lots of duplicate nodes being created within the site.

#1

akalsey - August 16, 2008 - 07:03
Status:active» postponed (maintainer needs more info)

What are the feed urls you're pulling in?

#2

samc - August 18, 2008 - 00:30

I've just been wrangling with the same problem. In my case it turned out that the schema updates had failed to apply. In particular, update_2 which adds the 'changed' column wasn't ever applied in spite of running update.php. This may be because I installed stable then dev without uninstalling first.

After manually applying the updates (via the dropdown in update.php), the issue is resolved.

#3

akalsey - August 18, 2008 - 03:53
Status:postponed (maintainer needs more info)» fixed

I've added a check that the item was added to the activitystream table properly before a node gets created. Now if the DB query fails for any reason, a node won't be created.

#4

Anonymous (not verified) - September 1, 2008 - 04:02
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

#5

akalsey - September 26, 2008 - 15:03
Status:closed» fixed

Undoing status change made by bot. Leaving as "fixed" until this goes into a release.

#6

Anonymous (not verified) - October 10, 2008 - 15:12
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.