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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Can't remove contact(s) from group - client error!
Pages: [1]

Author Topic: Can't remove contact(s) from group - client error!  (Read 891 times)

bcobin

  • I post frequently
  • ***
  • Posts: 337
  • Karma: 9
    • InterCreative Media
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.9
  • PHP version: 5.3
Can't remove contact(s) from group - client error!
September 09, 2009, 11:59:00 am
Using Civi 2.2.0 and Drupal 6.13

There are four records in the Administrators group and I want to remove three of them.

I check all three, go to Remove Contacts from Group and hit "Go." Behavior is as expected; system confirms three successfully removed. Return to Group page.

Two are removed, one remains as "Added." I edit the contact record, note that the contact is not listed in the Administrators group, hit "save" and return to Group page. Reload page. Contact is still listed as "added."

Manually remove the offending contact - system reports contact removed successfully.

Return to group page, the other two contacts that had been removed now come up as "added."

Result: contacts not able to be deleted from Group listing. There's obviously a real logic problem somewhere - looks pretty major to me.

Any ideas? Thanks!
« Last Edit: September 11, 2009, 10:43:22 am by bcobin »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Can't remove contact(s) from group - major bug
September 09, 2009, 02:42:59 pm
Can you try to replicate this on http://drupal.demo.civicrm.org

Kurund
Found this reply helpful? Support CiviCRM

bcobin

  • I post frequently
  • ***
  • Posts: 337
  • Karma: 9
    • InterCreative Media
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.9
  • PHP version: 5.3
Re: Can't remove contact(s) from group - client error!
September 10, 2009, 06:30:46 am
I tried to reproduce - behavior is as expected on the demo site, so I don't have a clue here.

One difference I'm noticing: On my deployed site, when a contact is "removed" from the group, rather than simply disappearing from the list (as it does on the demo site and is expected behavior), the contact status changes to "Removed" in red and the listing persists.

Any ideas? Thanks much!

(If you shoot me an email, I'd be very happy to send you the address and login info, if you like!)
« Last Edit: September 11, 2009, 10:43:41 am by bcobin »

bcobin

  • I post frequently
  • ***
  • Posts: 337
  • Karma: 9
    • InterCreative Media
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.9
  • PHP version: 5.3
Re: Can't remove contact(s) from group - major bug
September 11, 2009, 10:43:03 am
Sorry! Client error here.

Client accidentally set up one group as a subgroup of another, so when the request was made to remove contact from the master group (without removing it from the subgroup), Civi - most properly - didn't know what to do.

I de-associated the subgroup and everything behaves as expected.

I suppose one way to alleviate this scenario would be a check to see if the contact in question is already associated with a subgroup, in which case a message might be generated along these lines:

"Contact is also a member of the [subgroup] subgroup of [group]. Do you wish to remove contact from both groups?"

Of course, that's easy for me to say.

Sorry for the confusion here - perhaps this will help somebody else along the line...

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Can't remove contact(s) from group - client error!

This forum was archived on 2017-11-26.