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

UpdateMembershipRecord script assumes Pending, Canceled status

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.1.4
    • Fix Version/s: 2.2.0
    • Component/s: CiviCRM API
    • Labels:
      None

      Description

      In bin/UpdateMembershipRecord.php lines 123-4 it is assumed that there are rows in civicrm_membership_status with primary keys 5 and 6 representing status Pending resp. Canceled. Although the expected values are installed from civicrm_data.mysql, they do not have is_reserved=1, so nothing prevents them from being deleted by the site administrator.

        Attachments

          Activity

            People

            • Assignee:
              amit Amiteshwar Prasad
              Reporter:
              dharmatech Dharmatech
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified