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) »
  • Imported lifetime memberships expired
Pages: [1]

Author Topic: Imported lifetime memberships expired  (Read 1480 times)

GinkgoDOB

  • I post occasionally
  • **
  • Posts: 54
  • Karma: 1
  • Dir. of Product Development, Ginkgo Street Labs
    • Ginkgo Street Labs
  • CiviCRM version: v4.5-4.7
  • CMS version: Drupal
Imported lifetime memberships expired
November 22, 2013, 08:37:00 am
I'm in the process of converting some membership data and because of the small number of "Lifetime" memberships, I imported those first. I did not select a field to import as the end date for the membership.

The memberships imported successfully, but the status shows as "Expired." The expiration date on the imported memberships is blank.

Am I missing something, or should I investigate as a bug? Does it matter if the lifetime membership is fixed or rolling? (I wouldn't think it should...)

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: Imported lifetime memberships expired
November 22, 2013, 11:43:45 am
what if you reimport with the Status field set to what you want?
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

Ed van Leeuwen

  • I post occasionally
  • **
  • Posts: 68
  • Karma: 1
  • CiviCRM version: 4.7
  • CMS version: Drupal 7.x
  • MySQL version: MariaDB 10
Re: Imported lifetime memberships expired
November 24, 2013, 10:02:00 am
I ran into the same problem. Then I added a field in my import file for the status. I set it to 2 which should set it to Current. However, after importing, the status was still set to 4, Expired.

KarinG

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 9
  • CiviCRM version: 4+
  • CMS version: Drupal 6 / 7
  • MySQL version: MariaDB
  • PHP version: 5.3/5.4/5.5
Re: Imported lifetime memberships expired
November 26, 2013, 12:34:09 pm
What version of CiviCRM are you using? A couple of Membership bug fixes recently went into 4.4.2 - try reproduce this on the CiviCRM 4.4 Demo Site.

GinkgoDOB

  • I post occasionally
  • **
  • Posts: 54
  • Karma: 1
  • Dir. of Product Development, Ginkgo Street Labs
    • Ginkgo Street Labs
  • CiviCRM version: v4.5-4.7
  • CMS version: Drupal
Re: Imported lifetime memberships expired
November 26, 2013, 04:37:00 pm
It's a brand spankin' new instance of Civi. I did the imports using CiviCRM 4.4.2.

I'll try in the demo site.

Ed van Leeuwen

  • I post occasionally
  • **
  • Posts: 68
  • Karma: 1
  • CiviCRM version: 4.7
  • CMS version: Drupal 7.x
  • MySQL version: MariaDB 10
Re: Imported lifetime memberships expired
December 07, 2013, 09:19:36 am
I have reproduced the situation in the 4.4 demo site. Please let me know if I can help.

KarinG

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 9
  • CiviCRM version: 4+
  • CMS version: Drupal 6 / 7
  • MySQL version: MariaDB
  • PHP version: 5.3/5.4/5.5
Re: Imported lifetime memberships expired
December 07, 2013, 09:46:23 am
Ok - I'll have a look at the code.

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: Imported lifetime memberships expired
December 09, 2013, 01:40:46 pm
I've just posted an issue based on this related thread: http://forum.civicrm.org/index.php/topic,30893.0.html
If your membership start dates go back over 3 months for your lifetime members, this might well be relevant.
Graham Mitchell
http://mc3.coop

KarinG

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 9
  • CiviCRM version: 4+
  • CMS version: Drupal 6 / 7
  • MySQL version: MariaDB
  • PHP version: 5.3/5.4/5.5
Re: Imported lifetime memberships expired
December 09, 2013, 09:19:04 pm
CRM_Member_BAO_MembershipStatus::getMembershipStatusByDate is definitively returning the wrong status on a 4.4.2 - and this is definitively working on a 4.3.7 LifeTime (rolling). I can't see anything obvious - will set up to debug this.

KarinG

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 9
  • CiviCRM version: 4+
  • CMS version: Drupal 6 / 7
  • MySQL version: MariaDB
  • PHP version: 5.3/5.4/5.5
Re: Imported lifetime memberships expired
December 10, 2013, 10:51:35 am
I've figured out what's causing the issue. Will post my notes on http://issues.civicrm.org/jira/browse/CRM-13937 - I think Upperholme is right - these issues are related.

KarinG

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 9
  • CiviCRM version: 4+
  • CMS version: Drupal 6 / 7
  • MySQL version: MariaDB
  • PHP version: 5.3/5.4/5.5
Re: Imported lifetime memberships expired
December 18, 2013, 12:09:04 pm
We've arrived at a patch in http://issues.civicrm.org/jira/browse/CRM-13937 - can you please check to see if that patch solves this issue as well?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Imported lifetime memberships expired

This forum was archived on 2017-11-26.