Bulk Import and Action Help
Hi all, I'm using Actions 5.x-2.0 and Image 5.x-2.x-dev and I wrote an configurable action that automatically adds nodes to a nodequeue on node insert (in this case, images). It works fine when adding one image, but when I use image_import it only runs for the first image. Image import uses image_create_node_from() which in turn uses node_submit() and node_save() just like node module, so I'm having trouble understanding why it's only running once. Can anyone steer me in the right direction to start debugging this? Since it uses several different modules, I'm not sure where to begin. Code for my "autoqueue" action can be found here: http://drupal.org/files/issues/autoqueue.tar_.gz Thanks for your help! -Ben
FYI, Nodequeue 5.2.x comes with with just such an action. On Mon, Mar 31, 2008 at 2:26 AM, Ben Wheeler <bennybobw@gmail.com> wrote:
Hi all, I'm using Actions 5.x-2.0 and Image 5.x-2.x-dev and I wrote an configurable action that automatically adds nodes to a nodequeue on node insert (in this case, images).
It works fine when adding one image, but when I use image_import it only runs for the first image. Image import uses image_create_node_from() which in turn uses node_submit() and node_save() just like node module, so I'm having trouble understanding why it's only running once.
Can anyone steer me in the right direction to start debugging this? Since it uses several different modules, I'm not sure where to begin. Code for my "autoqueue" action can be found here: http://drupal.org/files/issues/autoqueue.tar_.gz
Thanks for your help! -Ben
participants (2)
-
Ben Wheeler -
Moshe Weitzman