Closed (fixed)
Project:
Feeds
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jan 2012 at 03:26 UTC
Updated:
13 Feb 2012 at 20:40 UTC
Jump to comment: Most recent file
Similar to #870556: PuSH: verification fails the first time, unsubscribe requests to PuSH hubs are failing because of the transaction in node_delete. After discussing this with Crell we decided a queued unsubscribe approach would be appropriate: PuSH hubs can retry failed publish notifications but are not required to do so, and Drupal will just ignore a publish notification to a nonexistent feed importer.
The following patch is an attempt at fixing this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1318382-1-feeds.patch | 1.9 KB | elliotttf |
Comments
Comment #1
elliotttf commentedPatch to fix the issue.
Comment #2
Crell commentedThis looks good to me on visual inspection. I don't know why Feeds is still using Job Scheduler, but that's not an issue for this thread. :-)
Comment #3
stevectorElliott, Did you test this against a hub? I'm working on the unsubscription functionality in Push Hub module. The unsubscribe POSTs I'm getting from Feeds contain an incorrect hub_callback variable.
instead of
I will look deeper. I post a revised patch if I find anything.
Comment #4
dave reidCommitted #1 to Git.
http://drupalcode.org/project/feeds.git/commit/3516859
I don't think this needs to be backported since node_delete() for D6 doesn't use any kind of transactions.
Comment #5
elliotttf commentedI did test against a hub. Are you using drush to process the cron? If so you need to set the site URL option (-l) to whatever your dev instance is, otherwise drush will set it to default.
Comment #6
stevectorYeah, that was it. Thank Elliott.