Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-7392

Wrong start date for new membership with fixed period

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.2
    • Fix Version/s: 3.3.3
    • Component/s: CiviMember
    • Labels:
      None

      Description

      When using a membership type that has a fixed period that starts on a date other than 1 January and an individual signs up for a new membership, CiviMember calculates the start date as the next start fixed period instead of the current period. For example, when the fixed period starts on 1 September with a rollover day of 30 June, if someone signs up today, 15 January 2011, the new membership should start today and end on 31 August 2011. What actually happens is that the new membership starts on 1 September 2011 and ends on 31 August 2012. In other words, what CiviMember calculates as the start date is actually the date of the next period even though we have not yet reached the rollover date.

      Further information can be found in the forum: http://forum.civicrm.org/index.php/topic,18074.0.html. This post appears to contain a similar problem: http://forum.civicrm.org/index.php/topic,18038.0.html.

      Steps to reproduce:

      1. Create a new membership type with the following parameters:
      a. Contribution Type = Member Dues
      b Duration = 1 year
      c. Fixed Period Start Day = Sep 01
      d. Fixed Period Rollover Day = 30 June
      2. Create new contribution page with a member sign-up section and select the membership type created above.
      3. Utilize the new contribution page (for example: http://drupal.demo.civicrm.org/civicrm/contribute/transact?reset=1&id=4).
      4. Check the status of the new membership.

      When the above steps were completed today on http://drupal.demo.civicrm.org/ the resulting membership has a join date of January 15th, 2011 (which is correct), a start date of September 1st, 2011 (several months in the future), and an end date of August 31st, 2012 (a year after it should have ended).

      Thank you for your assistance.

        Attachments

          Activity

            People

            • Assignee:
              ashwini Ashwini Poharkar
              Reporter:
              mdatcher Matthew Datcher
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: