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

Online membership renewal throws fatal error if membership type being checked has more than one inherited relationship type

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.3
    • Fix Version/s: 4.4.4
    • Component/s: CiviMember
    • Labels:
      None

      Description

      CRM_Contribute_Form_ContributionBase->preProcess invokes CRM_Contact_BAO_Relationship::getPermissionedContacts to check for valid permissioned contacts based on passed in relationshipTypeId parameter. However, if the membership type being checked has > 1 inherited relationship types, then $membershipType->relationship_type_id will be a CTRL-A padded string of IDs. This results in a fatal error since the query is expected in INT:

      One of parameters (value: 7788) is not of the type Integer

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: