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) »
  • Member renewal options in v2.0
Pages: 1 [2]

Author Topic: Member renewal options in v2.0  (Read 7022 times)

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Member renewal options in v2.0
April 07, 2008, 04:32:00 pm
Brian - Thx for the detailed report and testing.

I was able to track down / recreate / and debug the 2nd issue you reported:
* When there are two membership records of the same type for a given contact, and you renew the "newer" record, the "older" record actually gets updated. I've re-opened the 2.0 issue for One-step Renewal with the a diagnosis of the problem. Note that it isn't directly related to how either record got created initially - but only a result of having 2 memberships of the same membership type for a contact.:

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

HOWEVER, I can't seem to recreate your original issue of the renewal creating a new (additional) membership record when the original record was imported. I've tried to reproduce your steps, and my imported membership record renews properly. Perhaps you can get me a sample import file with one or two records - and exact steps for recreating - starting w/ your import mapping, the state of the record after import, etc. I suspect that the behavior is not related to whether there is a linked contribution record or not - but rather something specific to the "state" of the membership record at renew time.

Protect your investment in CiviCRM by  becoming a Member!

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Member renewal options in v2.0
April 07, 2008, 05:16:46 pm
Dave,
I was able to reproduce it. It looks like the problem is no different from what you had discovered under further examination -- it grabs another record randomly (often the lowest value id) and runs the renewal on that record.

The twist is with expired memberships -- which is the behavior I was seeing. If you have multiple memberships listed, one is active and multiple others are expired, it will grab the lowest value id expired membership and "renew" that record. The "twist" is that because it's renewing an expired membership, the rules say that it updates the start/end dates to current values (retaining the join date). Which is why I was seeing it as "new" record with dates matching the current term. (It really wasn't a new record-- I just didn't notice that I was losing a record from the expired list because it was being bumped up to the active list.)

On the Joomla Sandbox, go back to Dougel:
http://joomla.demo.civicrm.org/administrator/index2.php?option=com_civicrm&task=civicrm/contact/view&reset=1&force=1&cid=11&selectedChild=member

You'll see one active membership and two expired. Renew the active. You should see it bump the lowest expired up and create the membership period renewal on that record. It was a little tricky to reproduce, so if it doesn't work, let me know and I'll reconstruct it.

But at least the issue is consistent. On renewal, it doesn't grab the membership record id and renew that record.

-Brian

PS -- if the fix for this ends up being easy, can you let me know what files in SVN you modified so I can port it back to my current installs.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

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: Member renewal options in v2.0
April 08, 2008, 04:33:46 pm
Perhaps a related issue - we have BIRT set up to report on our members (as opposed to our supporters) - we have just spotted a case of a person who was a supporter and then changed to become a member. This person is then listed on the BIRT report but it shows their Supporter status (resigned) rather than their Member status (current) presumably because the data being displayed has the lowest ID.
Hope Chris can join in and provide more details in case it is a Civi issue rather than the way he set up BIRT
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

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Member renewal options in v2.0
April 08, 2008, 06:00:48 pm
Peter - If "Supporter" and "Member" are two distinct membership types, then what you're seeing is probably unrelated. The bug Brian found should only affect cases where a contact has multiple membership records of the SAME membership type.
Protect your investment in CiviCRM by  becoming a Member!

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Member renewal options in v2.0
April 09, 2008, 03:50:56 am
Brian,

We have fixed this issue, you can get the fix from: http://biryani.osuosl.org:8181/changelog/CiviCRM/?cs=13913

Let me know if it works for you.

thanx,

kurund
Found this reply helpful? Support CiviCRM

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Member renewal options in v2.0
April 10, 2008, 08:13:19 am
Kurund,
Just had a chance to plug this fix in and run some tests -- looks like it's working beautifully. Thanks!
Brian
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Member renewal options in v2.0

This forum was archived on 2017-11-26.