Closed (fixed)
Project:
Feeds
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2009 at 15:42 UTC
Updated:
12 May 2010 at 23:10 UTC
Jump to comment: Most recent file
Both FeedsDataProcessor and FeedsNodeProcessor generate items that are older than expiry time and then later expire them on cron time. That's wasteful and leads to unexpected results.
Once this is fixed, we can remove display time horizons like the one in Managing News: #651996: show items regardless of date in the mn_news View
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 653412-3_expiry.patch | 1.23 KB | alex_b |
| #1 | FeedsDataProcessor.ExpireFix.patch | 758 bytes | rbrandon |
Comments
Comment #1
rbrandon commentedNeeded a fix so I went ahead and created a patch. Didn't like the feed items being created and deleted on alternating cron runs :-)
Patch Attached
Thanks,
Richard Brandon
Comment #2
alex_b commentedThanks - at first glance, this patch is looking good. Setting to NR to keep this on my radar. I will circle back to this issue once I have some time.
Comment #3
alex_b commentedThis patch is what I am going to commit now. It is passing all tests. I've simplified the if clause - please take a quick look whether I am not missing anything here.
Comment #4
alex_b commentedCommitted. Thank you.
Comment #5
alex_b commentedI just broke out a separate issue for node processor:
#784756: FeedsNodeProcessor: Do not create items older than expiry time