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

CiviMember Renewal - add error trap for misconfigured status rules

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.1.2, 2.1.4, 2.1
    • Fix Version/s: 2.2.0
    • Component/s: CiviMember
    • Labels:
      None

      Description

      Currently the method CRM_Member_BAO_MembershipStatus::getMembershipStatusByDate returns without an empty status ID if the site's membership status rules are configured such that some membership start / end date conditions are not covered. This then causes fatal errors trying to insert a membership_log record and / or update the membership status.

      Need to add error checking to the method so it returns a clear error message if we can't find a valid status for the membership.

        Attachments

          Activity

            People

            • Assignee:
              neha.saraph Neha Kulkarni
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: