[development] Bulk Import and Action Help

Peter Wolanin pwolanin at gmail.com
Mon Mar 31 14:39:39 UTC 2008


>From playing with actions/triggers in 6.x I noticed that seemed
impossible to get it to work on more than one node per page load due
(I think)  to internal caching.   I'm guessing the same may be true in
5.x.

Perhaps you should look at the issue queue and/or open an issue about this.

-Peter

----------------
From: "Ben Wheeler" <bennybobw at gmail.com>
To: development at drupal.org
Date: Sun, 30 Mar 2008 23:26:53 -0700
Subject: [development] 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


More information about the development mailing list