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

Incorrect return for APIs on entity Membership

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      An API 'get' on Membership returns:

      • 'relationship_name' which is set to 'Child of' - this has nothing to do with the membership
      • 'membership_name' with the name for the membership type. Should this attribute be named 'membership_type' instead since this is a pseudoconstant for 'membership_type_id'?

      An API 'update' on Membership returns:

      • 'is_override' and 'reminder_date' attributes set to "null" (the string "null", not NULL)

        Attachments

          Activity

            People

            • Assignee:
              nganivet Nicolas Ganivet
              Reporter:
              nganivet Nicolas Ganivet
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 10 minutes
                10m
                Remaining:
                Remaining Estimate - 10 minutes
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified