Closed (fixed)
Project:
Actions
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Mar 2008 at 23:06 UTC
Updated:
13 May 2008 at 19:33 UTC
I wrote an import script to pull data from a legacy system periodically. I have an action that is supposed to run on every presave op of nodeapi. Only the first node was having the action run on it.
After looking at the actions_nodeapi script I saw that a static variable was declared to ensure the function to get stuck in recursion. I've added the $node->nid as a key to the array to keep track of $op's on a specific $node->nid so my import script would work.
| Comment | File | Size | Author |
|---|---|---|---|
| actions_multiple_nodes.patch | 966 bytes | tom friedhof |
Comments
Comment #1
Leeteq commentedSubscribing.
Comment #2
jvandyk commentedCommitted. Thanks.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.