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) »
  • Parent Group doesn't update when member removed from child
Pages: [1]

Author Topic: Parent Group doesn't update when member removed from child  (Read 402 times)

magdmartin

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: CiviCRM4.2
  • CMS version: Drupal
  • MySQL version: 5.5
  • PHP version: &
Parent Group doesn't update when member removed from child
January 06, 2014, 03:50:44 pm
I have the following setting with Drupal:

- Organic Group sync with CiviCRM group (I have about 20 differents groups representing association committee)
- In CiviCRM all committees group are children of a unique parent group.
- Member of the parent group sync with Drupal Role Committee Member (to manage right to access committee only content type)

I've done this set up so
- it is cleaner when looking at the manage group view in CiviCRM
- I don't have to manually map each committee group with the same Drupal Role.

When a member is added to an OG all works well and are propagated through CiviCRM and Drupal Role. However when a member is removed from an OG it is removed from the matching CiviCRM group but not the parent group.

I tried flushing the cache and rebuilding group with no success.

Any idea of what is going here? Should I skip the parent group shortcut and do one by one mapping?

Installation D7 and CiviCRM 4.3.4

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: Parent Group doesn't update when member removed from child
January 06, 2014, 09:03:30 pm

1. how do u remove the member from the group? sql or api?

2. Might want to reset the dates on the group table since those drive when the group contacts are rebuilt

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

magdmartin

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: CiviCRM4.2
  • CMS version: Drupal
  • MySQL version: 5.5
  • PHP version: &
Re: Parent Group doesn't update when member removed from child
January 07, 2014, 02:43:50 am
Members show as Added (by API) in parent group and Removed (by API) in child group.

How do I reset the dates? Do I need a MySQL access and set the date to NULL?

Thanks  for your help.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Parent Group doesn't update when member removed from child

This forum was archived on 2017-11-26.