<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
I apologize for not being clear. This isn't the batch processing
function (with the $context variable). It's a function called from the
batch processing function. That is, the processing function grabs the
next batch of 40 'project' nodes from the DB, then calls this function
on each of them in turn.<br>
<br>
Brian<br>
<br>
On 10-07-23 10:18 AM, Justin Ellison wrote:
<blockquote
cite="mid:AANLkTimfDqtVoy_z1STsbGQwBio5fsV02NSEVTYLzmk0@mail.gmail.com"
type="cite">Disregard my earlier email then, sorry.
<div><br>
</div>
<div>Your test case isn't doing anything with the $context variable.
I know it's best practice to use that array to tell batch API how far
along it is -- I've never not done that, maybe that's part of the
problem? If you make your test case look more like the batch api from
the examples module, does that still repeat the same error?</div>
<div><br>
</div>
<div>Justin<br>
<br>
<div class="gmail_quote">On Fri, Jul 23, 2010 at 9:12 AM, Brian Vuyk <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:brian@brianvuyk.com">brian@brianvuyk.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thanks
for the suggestion.<br>
<br>
Unfortunately, that did not affect the behaviour. I did a few test runs
with it, the first 2 returned proper results, the third run had all the
problematic node_load()s again.<br>
<br>
It had my hopes up momentarily, though!<br>
<br>
Brian<br>
<br>
</blockquote>
</div>
</div>
</blockquote>
</body>
</html>