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 CiviMember (Moderator: Deepak Srivastava) »
  • Inactive Relationships Inheriting Current Memberships
Pages: [1]

Author Topic: Inactive Relationships Inheriting Current Memberships  (Read 949 times)

reperry

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 2
Inactive Relationships Inheriting Current Memberships
April 27, 2011, 02:37:46 pm
This is related to this post: http://forum.civicrm.org/index.php?topic=15078.0

We're using 3.3.5 and we've found that if we mark a relationship inactive (employee of), the membership that the person inherited from the organization is still current.  We want any benefits of membership to end if that person is no longer an employee.  Is the solution to manually delete those memberships?

I don't see where to delete these memberships.  Is it possible?   


reperry

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 2
Re: Inactive Relationships Inheriting Current Memberships
April 28, 2011, 10:41:56 am
Update: I also recreated this in the demo just now, so it also happens in 3.4.

The problem is that inherited memberships should (at least in the cases I'm imagining) be tied to the relationship that allows the inheritance.  If I gain membership to something by being an employee of my organization, when I'm no longer an employee, the membership should also end.  This doesn't happen, and I can't remove these memberships manually from former employees.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Inactive Relationships Inheriting Current Memberships
April 28, 2011, 02:53:17 pm
I checked on this behavior and interestingly it does the right thing if you use the "Disable" action to disable the Employee relationship (click "more >" and then Disable from the list of relationships). However, unchecking the "Enabled" checkbox does NOT do the right thing (i.e. doesn't delete the inherited membership). Deleting the relationship also deletes the membership (as it should). I've filed an issue for this which you can track:

http://issues.civicrm.org/jira/browse/CRM-7985

As a temporary work-around, try using the Enable action and then Disable action on the relationship (since there is no other way to delete the inherited membership).
Protect your investment in CiviCRM by  becoming a Member!

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Inactive Relationships Inheriting Current Memberships
April 29, 2011, 06:23:47 am
reperry :
The erroneous behavior has been fixed for 3.4.1 and should be available for the next release.
Here's the patch for the same.

HTH
-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

reperry

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 2
Re: Inactive Relationships Inheriting Current Memberships
April 29, 2011, 07:32:34 am
Thanks. That's great!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Inactive Relationships Inheriting Current Memberships

This forum was archived on 2017-11-26.