Closed (duplicate)
Project:
Rules
Version:
6.x-1.x-dev
Component:
Rules Engine
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Apr 2009 at 02:47 UTC
Updated:
27 Oct 2009 at 16:45 UTC
When I use intelligent saving on a node with an OG audience, the audience data is cleared.
This might be thrown over to the OG issue queue, but this is the most logical place to start.
Comments
Comment #1
RoboPhred commentedOccures with "Save content" action as well.
Comment #2
RoboPhred commentedThis is looking more like a Rules bug now.
I added checks to og.module on its presave and save (save_ancestry) functions to list the groups it is working on. Here is the readout of my comment-enabling php code is ran and the node passed to intelligent saving during "Content is going to be saved"
Somehow, the node keeps getting saved until it forgets its group...
Comment #3
RoboPhred commentedI tracked it down to passing the node to intelligent saving while in the "Content is going to be saved" trigger. I'm not sure how this is causing two other presave/save cycles, or how og looses data, but that triggers the bug.
Here's the successful save run
Unfortunately, I have to do this to get this workaround working: #402102: "After updating existing content" occures before content is saved
Comment #4
amitaibuIt's an OG issue - #362493: og_nodeapi presave might filter out groups.
Comment #5
rc2020 commentedHas there been any rules update with this issue? When setting title via 'After saving new content', I loose OG audience.
See OG post queue here:
http://drupal.org/node/610260#comment-2197186