Worse, even the whole variable site is missing! What I wanted to do is flag (follow) the group node for newly approved members. Impossible now. The same thing will work with event "User has become a group member" where you will find variable site all right.

Members fund testing for the Drupal project. Drupal Association Learn more


ñull’s picture

Attached the rule rules_follow_default_approved_group_member.txt that fails to provide the necessary variable "site", demonstrated by the debug actions. The other rule rules_follow_default_new_group_member.txt provides an example that works like it should, where the needed variable is available.

eileenmcnaughton’s picture

We have observed this too. I had hoped we might be able to crawl 'og_membership' instead - especially if we did a check on group_type first - but 'og-membership:group:type' is not valid

eileenmcnaughton’s picture



I have gotten around this by adding a module that adds an action to load the group