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

Membership status is not updated after disabling a membership type

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.6, 4.7.23
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No
    • Overview:
      Hide
      Tested on 4.6.29 and 4.7.23 behaviour is slightly different for the two versions.
      Membership status is not getting updated when you disable the membership type that is used in the membership.

      Just to note the Memberships used in examples are not Test!
      Show
      Tested on 4.6.29 and 4.7.23 behaviour is slightly different for the two versions. Membership status is not getting updated when you disable the membership type that is used in the membership. Just to note the Memberships used in examples are not Test!
    • How it works currently:
      Hide
      # create a membership for a contact with end date Today, and membership type Student
      # then go to membership types (/civicrm/admin/member/membershipType?reset=1) and disable the type Student
      # the next day run the Scheduled Job "Update Membership Statuses"
      # go back to the contact and check if the membership got updated with status Expired

      Result for 4.6: status is still Current in contact page.
      Result for 4.7: whole membership is deleted from the contact page, but can be found in searches! Status is still Current!
      Show
      # create a membership for a contact with end date Today, and membership type Student # then go to membership types (/civicrm/admin/member/membershipType?reset=1) and disable the type Student # the next day run the Scheduled Job "Update Membership Statuses" # go back to the contact and check if the membership got updated with status Expired Result for 4.6: status is still Current in contact page. Result for 4.7: whole membership is deleted from the contact page, but can be found in searches! Status is still Current!
    • How it should work:
      Hide
      Results for both versions:
      # membership status should get updated
      # membership is still displayed in contact page and searches
      Show
      Results for both versions: # membership status should get updated # membership is still displayed in contact page and searches
    • Acceptance Criteria:
      Hide
      # membership status should get updated
      # membership is still displayed in contact page and searches
      # other core functionality regarding memberships is not changed
      Show
      # membership status should get updated # membership is still displayed in contact page and searches # other core functionality regarding memberships is not changed

      Attachments

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            ritatorok Rita Torok
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated: