If something changes og_groups but not spaces_og_audience, two groups might be added during 'presave' which is inconstant with how og enforces one group. Also, the group privacy isn't set, etc.

Patch rearranged it so there's only one call to _spaces_og_enforce_privacy after it calculates what group. (og enforce privacy overrides og group).

CommentFileSizeAuthor
#1 spaces_setting_og_group.patch1.24 KBhefox

Comments

hefox’s picture

StatusFileSize
new1.24 KB

I *guess* I should include the patch.

hefox’s picture

Title: The logic in spaces_og_nodeapi when setting group can lean to inconstant data » The logic in spaces_og_nodeapi when setting group can lead to inconstant data

Fixing typo

... Lean on me, when you're not strong, And I'll be your friend, I'll help you carry on, For it won't be long, 'Til I'm gonna need, Somebody to Lean on ...