Body: <p>As per the documentation (<a href="https://book.civicrm.org/user/current/membership/defining-memberships/" rel="nofollow noreferrer">https://book.civicrm.org/user/current/membership/defining-memberships/</a>) :</p>
  
  <p>"If you wish to enable online sign ups or renewals, the CiviCRM data model requires that a contact can only have one active membership with a single organisation at any given time. "</p>
  
  <p>I currently have 2 CiviCRMs/Drupal : one in production, and one for tests (both in 7.44/4.7.6), and I use Webform to create the memberships.</p>
  
  <p>The test Civi does not actually create duplicate memberships : each new membership replaces the previous one : which is in accordance, and correct.</p>
  
  <p>But the production CiviCRM creates duplicate memberships :
  <a href="https://i.sstatic.net/gXfmu.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/gXfmu.png" alt="Screen Copy"></a></p>
  
  <p>How can this happen ?
  Is this connected with "If you wish to enable online sign ups or renewals" ?
  How can I change that ?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-06-20T08:17:46.847Z
Comments.Text: please confirm whether you have the same rules in both production and testing server - Contacts -> Find and Merge Duplicate Contacts
Comments.UserDisplayName: Ramesh - ARTECH Consultancy
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-06-20T10:02:00.557Z
Comments.Text: Thank you Ramesh. I use the same dedupe rules on both servers, and I have no duplicate contact (the contact is not duplicated, only memberships are).
Comments.UserDisplayName: Jacques-Marie Moranne
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-06-20T20:23:20.337Z
Comments.Text: J-M - before I try and answer the actual question can you explain why i am not seeing End Dates? Are these Lifetime memberships?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-06-21T14:26:54.917Z
Comments.Text: Actually, those are Lifetime memberships. Is there a different behaviour between Lifetime and Fixed Memberships ? BTW, when I want to create a duplicate lifetime membership on the test server, I get the following message (not the case with de production server) : Notice : Undefined index: end_date dans wf_crm_webform_postprocess->processMemberships() (ligne 1102 dans /home/paroisse/public_html/test/drupal/sites/all/modules/webform_civicrm/includes/wf_crm_webform_postprocess.inc).
Comments.UserDisplayName: Jacques-Marie Moranne
Tags: <civimember>
Title: Duplicate Memberships
ThreadText: # Duplicate Memberships
  
  (Asked by: username_0 on 2016-06-18)
  
  As per the documentation (<https://book.civicrm.org/user/current/membership/defining-memberships/>) :
  
  "If you wish to enable online sign ups or renewals, the CiviCRM data model requires that a contact can only have one active membership with a single organisation at any given time. "
  
  I currently have 2 CiviCRMs/Drupal : one in production, and one for tests (both in 7.44/4.7.6), and I use Webform to create the memberships.
  
  The test Civi does not actually create duplicate memberships : each new membership replaces the previous one : which is in accordance, and correct.
  
  But the production CiviCRM creates duplicate memberships :
  [![Screen Copy](https://i.sstatic.net/gXfmu.png)](https://i.sstatic.net/gXfmu.png)
  
  How can this happen ?
  Is this connected with "If you wish to enable online sign ups or renewals" ?
  How can I change that ?
  
  **Tags:** civimember
  
  > **Comments:**
  > **username_1**: please confirm whether you have the same rules in both production and testing server - Contacts -> Find and Merge Duplicate Contacts  
  > **username_0**: Thank you Ramesh. I use the same dedupe rules on both servers, and I have no duplicate contact (the contact is not duplicated, only memberships are).  
  > **username_2**: J-M - before I try and answer the actual question can you explain why i am not seeing End Dates? Are these Lifetime memberships?  
  > **username_0**: Actually, those are Lifetime memberships. Is there a different behaviour between Lifetime and Fixed Memberships ? BTW, when I want to create a duplicate lifetime membership on the test server, I get the following message (not the case with de production server) : Notice : Undefined index: end_date dans wf_crm_webform_postprocess->processMemberships() (ligne 1102 dans /home/paroisse/public_html/test/drupal/sites/all/modules/webform_civicrm/includes/wf_crm_webform_postprocess.inc).  
  
  ---
  
  ## 0 answers
  
  