Closed (fixed)
Project:
Feeds
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2010 at 15:32 UTC
Updated:
10 Oct 2010 at 18:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
alex_b commentedWhat's happening is that you have invalid sources in your feeds_source table.
This happens if you e. g. configure an importer with a standalone form, upload through that form (produce a source of feed_nid=0), then attach that importer to a content type. Or vice versa: you create an importer attached to a content type, upload through a node of that content type (produce a source of feed_nid=[nid]), then reconfigure to use th standalone form. In these circumstances, the created sources kept importing. The newer version of Feeds avoids that by checking whether a source 'exists' and is 'valid' - see FeedsSource::existing().
There is an exception missing in this routine though. This is critical, we should get out a fix fast.
Comment #2
alex_b commentedI actually think we should fail silently in such situations. "Phantom sources" are not per se a problem, we should just make sure that we don't import them periodically.
Comment #3
alex_b commentedThis is committed, thank you for reporting.
http://drupal.org/cvs?commit=427746
Comment #4
chweb commentedThank you for the very fast fixing and committing, thats awesome!