Closed (fixed)
Project:
Content Distribution
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2010 at 15:59 UTC
Updated:
25 Feb 2010 at 17:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
joachim commentedTurns out the flaw is not there -- we are blindly putting what we get back from that into the $nodes array, so we may be getting an array with just FALSEs.
This patch fixes that -- bad nodes are no longer created.
However, our messages are in a bit of a mess, as I now get:
* There was a problem retrieving node 17.
* There are no new nodes to retrieve. Process complete.
Yeah, haha -- so were there nodes or not?
Leaving follow-up to a later tidy up of our error messaging -- I want to wrap all error messages in a single function that handles knowing whether to do a dsm() as well as a watchdog.
#711480 by joachim: Fixed bad nodes getting created when nodes can't be retrieved.