Download & Extend

Duplicate nodes created for each cron run

Project:Activity Stream
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

Comments

#1

Status:active» postponed (maintainer needs more info)

What are the feed urls you're pulling in?

#2

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

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

Status:fixed» closed (fixed)

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

#5

Status:closed (fixed)» fixed

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

#6

Status:fixed» closed (fixed)

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