Closed (fixed)
Project:
Nodequeue
Version:
7.x-2.x-dev
Component:
Smartqueue Taxonomy
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2011 at 10:55 UTC
Updated:
29 Oct 2011 at 22:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
chrisschaub commentedThe error is somewhere in this code in nodequeue_genereate.module, I think.
I first thought it was the range(0,1) which only got 1 node, but now I'm not sure. It could also be the node_load is running out of memory. I have about 85 nodes that are classified by terms. That shouldn't be enought to run out of memory, and I'm not getting any error. It only processes the first term in the vocab, only that term gets a taxonomy smartqueue. Any pointers are greatly appreciated. No errors either, just the first term gets a queue. Weird.
Comment #2
chrisschaub commentedHere's a patch that fixes the issues with taxonomy smartqueues not creating queues for each term. The issue has to do with how the array append happens. The array append behavour in PHP5 is a bit tricky and the nids are never getting appended so the term queues are not getting genereated. It just keeps the first node in the nids array. This patch is an attempt to fix it.
Comment #3
gazzer82 commentedI also have this problem, however i am unable to apply the patch to the latest beta or dev build, i get an unexpected end of file.
Is this patch current for the latest builds?
Thanks
Gareth
Comment #4
chrisschaub commentedYes, latest dev for drupal 7. Are you using git to apply patch?
Comment #5
gazzer82 commentedNo I'm using patch on the command line is OSX, i haven't ever used GIT.
Could you pint me in the direction of some instructions and i shall give it a go!
Thanks for your help.
Gareth
Comment #6
gazzer82 commentedOK, just tried it with GIT and i get the a message telling me there is a corrupt patch at line 43.
Any ideas?
Thanks
Gareth
Comment #7
amateescu commentedConfirmed the bug and the patch from #2 fixes it.
Commited to 7.x-2.x. Thanks!
http://drupalcode.org/project/nodequeue.git/commit/136e46f