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

api civicrm_membership_create on household doesn't create memberships for related contacts

    Details

    • Type: Bug
    • Status: Won't Do
    • Priority: Trivial
    • Resolution: Won't Do
    • Affects Version/s: 4.2.7
    • Fix Version/s: Unscheduled
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)

      Description

      I have an issue with creating memberships, using the api. It looks similar to a previous closed bug :
      issues.civicrm.org/jira/browse/CRM-3151

      I have a membership type with a relationship on a household.
      When i add memberships (expired and current) on that household, the memberships are
      only added correctly for the household, but not for related contacts.
      For the related contacts just the first added membership exists, (and) or the current one.
      When i do the same thing on the civi gui, it works correctly.
      When i use the api, add 1 membership with 1 script call, it also works.
      But when i use a loop for creating more than 1 membership, than the problem occurs.
      (the return values of the api call shows me an id what indicates that the membership was
      created, but deleted afterwards ?)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cmadou Chris Madou
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: