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

Test membership notifications with UpdateMembershipRecord.php

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.2.7
    • Fix Version/s: 2.2.8
    • Component/s: CiviMember
    • Labels:
      None

      Description

      I'm using Drupal 5.x, and the latest stable CiviCRM release for that is 2.0.7, which isn't listed in the bug tracker "affects versions" pulldown. However, I'e confirmed that the same problem exists in the latest 2.2.7 version.

      My clients database has several test membership records (civicrm_membership.is_test = 1). I really don't know how these got created, you probably do; all I know is that they exist. When the UpdateMembershipRecord.php ran, it found these records and sent expiration notices. This really confussed the client, because as far as he was aware, these users had NO memberships, because (a) when you look on the dashboard membership page, they aren't shown and (b) you can't find these memberships using the membership search page (civicrm/member/search). Since these test memberships are hidden from the two most obvious places, shouldn't you also not expire them? Patch attached.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              douggreen Doug Green
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: