Smart group that are using a smart group in "Target Contact(s) in group" can give false results
Quite hard to reproduce but here is the way that should do :
- create a smart group
first group
- create another smart
second group
group in advanced search with a relationship in thefirst group
like so : - wait for the table civicrm_group_contact_cache to be emptied of information about
first group
(after 5 minutes if you do something like deleting a contact) - go the
Manage group
and click onsecond group
->Contacts
link to get the list of contacts for the group
It will not give you the proper result - probably 0 contacts because the first_group
cache is not refreshed in that context.