Project60 / org.project60.membership

CiviCRM extension to facilitate the "European" membership concept
GNU Affero General Public License v3.0
6 stars 14 forks source link

New membership with a completed contribution gets a wrong end date and no related membership are created #32

Closed jaapjansma closed 5 years ago

jaapjansma commented 5 years ago

New membership with a completed contribution gets a wrong end date and no related membership are created.

Steps to reproduce

  1. Install this extension
  2. Configure the extension to extend membership when contribution is completed
  3. Create a membership type with a related membership, a 1 year rolling period.
  4. Create the membership and record a completed contribution

Expected results

  1. Membership on the primary contact with the status New and end date a year after today (e.g. 17 jan 2020)
  2. Membership on the related contacts with the status New and end date a year after today (e.g. 17 jan 2020).

Actual results

  1. Membership on the primary contact is created with the status New and end date two years after today (e.g. 17 jan 2021)
  2. No memberships are created on the related contacts.