Answers.Body: <p>The solutions below took place inside the CiviCRM GUI:</p>
  
  <p>For most, I had to disable and re-enable all relationships and subsequently edit and save the membership.</p>
  
  <p>In a few cases, even this didn't work. For those records, I also edited the membership and specified a number of allowed related records before saving (I also subsequently went back in and cleared out that number with no ill effects).</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-07-02T16:45:08.803Z
Answers.Text: Recording this here for my own sanity - this is not the first time I've found this Q&A so for my future self (hello me) or other searchers: One install I encountered had two identically named relationship types, but only one of those was the one allowed by the membership type.
Answers.UserDisplayName: artfulrobot
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-15T15:45:56.553Z
Answers.LastActivityDate: 2015-09-15T15:45:56.553Z
Answers.UserDisplayName: Eric H
Body: <p>Because a membership type was in use, I wasn't able to edit its relationship properties via the CiviCRM GUI. So I did it in MySQL (by editing membership_type_id and membership_direction fields in civicrm_membership_type). </p>
  
  <p>I thought I created all related records the civicrm_membership table (each contact needs their own, even if the membership is inherited), but I must have missed some or encountered a bug because after doing this edit, I had to go through and Edit then Save some membership records in CiviCRM itself to fix them.</p>
  
  <p>However this didn't work for everybody, and <strong>records with multiple relationships only passed on memberships to one of the two related records.</strong> Again, this may have been the result of an oversight on my part.</p>
  
Tags: <civimember><relationships>
Title: Membership not extended to all related contacts
ThreadText: # Membership not extended to all related contacts
  
  (Asked by: username_0 on 2015-09-15)
  
  Because a membership type was in use, I wasn't able to edit its relationship properties via the CiviCRM GUI. So I did it in MySQL (by editing membership\_type\_id and membership\_direction fields in civicrm\_membership\_type).
  
  I thought I created all related records the civicrm\_membership table (each contact needs their own, even if the membership is inherited), but I must have missed some or encountered a bug because after doing this edit, I had to go through and Edit then Save some membership records in CiviCRM itself to fix them.
  
  However this didn't work for everybody, and **records with multiple relationships only passed on memberships to one of the two related records.** Again, this may have been the result of an oversight on my part.
  
  **Tags:** civimember, relationships
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2015-09-15. Score: 1 | Accepted answer
  
  The solutions below took place inside the CiviCRM GUI:
  
  For most, I had to disable and re-enable all relationships and subsequently edit and save the membership.
  
  In a few cases, even this didn't work. For those records, I also edited the membership and specified a number of allowed related records before saving (I also subsequently went back in and cleared out that number with no ill effects).
  
  > **Comments:**
  > **username_1**: Recording this here for my own sanity - this is not the first time I've found this Q&A so for my future self (hello me) or other searchers: One install I encountered had two identically named relationship types, but only one of those was the one allowed by the membership type.  
  
  ---
  
  