Can only pull nodes once

goldentoque - November 12, 2006 - 08:11
Project:Subscribe
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

Pulling data to the subscribed site works initially after the subscription is created. However I would assume that I could initiate a second pull but this does not seem to be the case. I was attempting this after manually changed some database variables as per a different issue, and wanted to re-pull the nodes.

I attempted the second pull immediately after the first and received the following error

Pull attempt failed for http://www.mysite.ca/xmlrpc.php

However if a initial pull is done.
Nodes are updated by a push.
A second pull can then be completed.

Thanks again for your help...

Darren

#1

RobRoy - November 14, 2006 - 02:46
Status:active» needs review

Here is a patch to change the error message. This is actually not an error, it results from there not being any new content to pull. The message should state this. Changed it to say "No new/updated content to pull from %url."

This patch also includes a bunch of small code style, correct Drupal fieldset capitalization, etc. John your modules are awesome, I want to make the code style an example for new Drupal devs. Let me know if you want me to split this patch up.

AttachmentSize
subscribe.module.patch 11.35 KB
 
 

Drupal is a registered trademark of Dries Buytaert.