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.