CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Group Weirdness
Pages: [1]

Author Topic: Group Weirdness  (Read 773 times)

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Group Weirdness
November 25, 2010, 10:16:31 am
I have no idea what else to title this one...

Example:

We have a group with just four people in it. I can verify their individual membership of this group on their contact record.

When I search for members of the group it reports 12 members but displays just one (my admin account)

When I remove my admin account from the group (from the contact record) the search then reports 11 and lists 8 people, 4 of whom are members of the group.

Just for fun I selected the 4 'aliens' and clicked the buttons to remove them from the group - with the following reported:

Total Selected Contact(s): 4
Total Contact(s) not in group: 4
Total Contact(s) with negative membership in group: 4

Nice. There were not in the group, but now have negative membership.

But on doing the search again they are still listed...

And of course 4+4 does not = 11

Other groups are correct.

I'm trying to get my head around how to start working out the problem.

This is not an academic exercise - we are intending to send out a mailing to 1, 800 or so of our supporters - the test group (those 4) were sent the test mailing - my admin account received 80 mails, my other account received 11...

Any suggestions on how to approach the research would be helpful.
 

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Group Weirdness
November 25, 2010, 03:37:16 pm

by any chance does this group have children? there have been a few bugs reported with the parent/children group hierarchy, but i think we've addressed and fixed most of them in 3.2 / 3.3

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Re: Group Weirdness
November 26, 2010, 01:22:32 am
No, no children...

I suspect corruption more than bugs - not that I'm likening children to bugs!

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Re: May be solved?? Group Weirdness
November 26, 2010, 02:14:57 am
Clearing the civicrm_group_contact_cache appears to have solved that problem - though I am stiill weirded out by it - the search was reporting 10 and displaying 4 because it was reporting 6 members with status 'Removed' and displaying only those with status 'Added' - however those contacts were, as far as I am aware, ever members of that group.

Still, the search appears to be working... where's that 'touch wood' emoticon?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Group Weirdness
November 27, 2010, 05:49:49 pm

if you can reproduce it along with the steps that would be helpful. Most likely the group contact cache is not being cleared when some field is updated

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Group Weirdness

This forum was archived on 2017-11-26.