Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
On login as a site admin I have the following Rules debug message:
0 ms Reacting on event User has become a group member.
6.841 ms Evaluating conditions of rule OG member subscribe (Pending).
12.861 ms The condition data_is evaluated to FALSE
12.877 ms AND evaluated to FALSE.
12.915 ms Finished reacting on event User has become a group member.
OG member subscribe (Pending) is the first in my Rules queue.
Comments
Comment #1
amitaibuDoes it happen on clean installation?
Comment #2
AndrzejG CreditAttribution: AndrzejG commentedNo.
Drupal: 7.0 -> 7.x-dev -> 7.7
OG: 7.x-1.x-dev -> 7.x-1.1
Comment #3
Tsubo CreditAttribution: Tsubo commentedHaving a similar issue to this. The Rule event 'User has become a group member' is triggering on two occasions when it shouldn't be.
1. On initial registration/account activation.
2. When a user logs in via a one-time password reset URL.
More specifically, a data comparison on the event - 'og-membership:state' data value 'Active' returns true when the user in question has never joined any groups.
Currently using:
Drupal Core 7.14 (but have the same issue with 7.8)
Organic Groups 7.x-1.3
I also have come via upgrade path from an earlier Dev version of OG: 7.x-1.x-dev dated 2011-07-08 (stamp 1310085138) which suggest this is an issue with the default Rules that were installed with the 7.x-1.x-dev version....
Any idea how to resolve?
Thanks