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

Pledge.get API retrieving contacts

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      None

      Description

      Somewhere along the way the query object being called by api pledge.get started retrieving contacts.

      test

      api_v3_PledgeTest::testSortParamPledge

      fails because the retrieval is getting a contact object

      F.FArray
      (
      [is_error] => 0
      [version] => 3
      [count] => 1
      [id] =>
      [values] => Array
      (
      [] => Array
      (
      [contact_id] => 1
      [contact_type] => Organization
      [contact_sub_type] =>
      [sort_name] => Default Organization
      [display_name] => Default Organization
      [pledge_id] =>
      [pledge_amount] =>
      [pledge_create_date] =>
      [pledge_status] =>
      [pledge_total_paid] =>
      [pledge_next_pay_date] =>
      [pledge_next_pay_amount] =>
      [pledge_outstanding_amount] =>
      [pledge_financial_type] =>
      [pledge_contribution_page_id] =>
      [pledge_frequency_interval] =>
      [pledge_frequency_unit] =>
      [pledge_is_test] =>
      [pledge_campaign_id] =>
      [pledge_currency] =>
      )

      )

      )
      ............

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: