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) »
  • Can't removed Contacts from Groups
Pages: [1]

Author Topic: Can't removed Contacts from Groups  (Read 935 times)

MulderDSM

  • I post occasionally
  • **
  • Posts: 100
  • Karma: 0
  • CiviCRM version: 4.6.0
  • CMS version: Joomla 3.4.1
Can't removed Contacts from Groups
January 28, 2015, 03:02:32 pm
I upgraded this past weekend from 4.4.5 to 4.5.5. All appeared to work well, but have discovered one glitch.

If I want to remove an individual contact from a group by accessing the contact, going to the groups tab, and selecting Remove or Delete, I get an error message and can not remove. I've tried this on several contacts, always the same message "Error: Sorry an error occurred and your data could not be saved". I can add to groups fine, but can't remove or delete.

If I go through Groups and do it in bulk, I can successfully remove or delete a group from contact records.

Suggestions on how to fix or is this a known bug?

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Can't removed Contacts from Groups
January 28, 2015, 03:04:11 pm
hi - it may help others comment if you can confirm if the same behaviour is happening on the demo site
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

martin_r

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.5.8
  • CMS version: Drupal
  • MySQL version: 5.1.73
  • PHP version: 5.3.3
Re: Can't removed Contacts from Groups
March 12, 2015, 10:09:30 am
Same problem here (civi version 4.5.8 )

Additional observation:
The user experiencing the problem has the drupal ACL "CiviCRM: edit groups" UNchecked.
If the "CiviCRM: edit groups" setting is enabled the problem does not occur.
However I don't want to give the user the full rights to edit/remove/add groups...

Any solution for this?

martin_r

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.5.8
  • CMS version: Drupal
  • MySQL version: 5.1.73
  • PHP version: 5.3.3
Re: Can't removed Contacts from Groups
April 20, 2015, 06:03:18 am
Upgrade to 4.6 did'nt help  :'(

Here's a more detailed error description (CiviCRM 4.6.2, Drupal):

  • Login as a user without "CiviCRM edit groups" permission (but with edit contacts etc. permissions).
  • Open a contact and click on the "groups" tab: there you see the contact's group memberships, where you can remove/delete these memberships.
  • Clicking Remove or Delete fails, and gives error message: "Error API permission check failed for GroupContact/delete call; insufficient permission: require access CiviCRM and edit groups"
  • Navigate to the group itself, and remove the contact from the group => it works.

Can anyone out here confirm this strange behaviour?
The "CiviCRM edit groups" permission should allow users to add/remove/edit groups themselves, but should not affect users permissions to add/remove contacts from groups.
« Last Edit: April 20, 2015, 09:43:40 am by martin_r »

martin_r

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.5.8
  • CMS version: Drupal
  • MySQL version: 5.1.73
  • PHP version: 5.3.3
Re: Can't removed Contacts from Groups
April 22, 2015, 02:36:31 am
Added it to the CiviCRM issue tracker, will be resolved in 4.6.3
for details see: https://issues.civicrm.org/jira/browse/CRM-16327

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Can't removed Contacts from Groups

This forum was archived on 2017-11-26.