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) »
  • Civimember merge not merging membership records properly
Pages: [1]

Author Topic: Civimember merge not merging membership records properly  (Read 1341 times)

mclyde

  • I post frequently
  • ***
  • Posts: 171
  • Karma: 3
    • International Society for Bayesian Analysis
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 6.x
  • MySQL version: 5.136
  • PHP version: 5.2.16
Civimember merge not merging membership records properly
September 18, 2011, 08:50:23 pm
if a contact has an expired membership and renews, the existing record is updated so there is just one record per contact for a given organization; all contribution records are linked to the one membership record.

However, if I merge two contacts who are the same, with one having an expired membership and the other a current membership this creates 2 memberships records, rather than modifying the primary one. 

(this also means that they will incorrectly be included any group to identify expired memberships, with out excluding current members).

best,
Merlise
Merlise Clyde

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Civimember merge not merging membership records properly
September 19, 2011, 07:56:47 am

hey merlise:

can u investigate the code and figure out a patch for this? For most of the merge code, we either tweak the ids of the records OR delete the other part of the record. Seems like memberships will be a bit more complex and will need to follow a different set of rules

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

mclyde

  • I post frequently
  • ***
  • Posts: 171
  • Karma: 3
    • International Society for Bayesian Analysis
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 6.x
  • MySQL version: 5.136
  • PHP version: 5.2.16
Re: Civimember merge not merging membership records properly
September 19, 2011, 05:04:19 pm
Will try, but probably not right away - I'm in  the middle of teaching for the semester (my real job :-) but also have to set up a conference  (will be trying the COD module in Drupal  and may go back to the ubercart civicrm integration code.)

We figured out the sql code to merge the records like this  earlier, so should be able to identify where in the civi code to add the fixes.

cheers,
m
Merlise Clyde

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Civimember merge not merging membership records properly

This forum was archived on 2017-11-26.