This patch changes _feedapi_node_save (by moving the x_dupe code higher) so that it checks the existence of duplicates before creating a new node object. And also FALSE is returned to indicate that the item is updated when there are duplicates.

CommentFileSizeAuthor
#1 feedapi_node.x_dupe.patch1.92 KBufku

Comments

ufku’s picture

StatusFileSize
new1.92 KB

patch

aron novak’s picture

Status: Needs review » Reviewed & tested by the community

It does make sense.
I tested it with simpletest tests of FeedAPI and FeedAPI Mapper and it won't hurt :)
Also I tested it manually and it does not break the cross-feed deduping feature.

aron novak’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Thank you!

Status: Fixed » Closed (fixed)
Issue tags: -Performance

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