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

Notice error on using Contribution.getfield API

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.19
    • Fix Version/s: 4.7.21
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      Notice: Undefined index: contribution_contact_id in _civicrm_api3_contribution_get_spec() (line 359 of /Users/monish/src/civicrm/api/v3/Contribution.php).

      I encountered this error on using Contribution.getfield API where passing contact_id param isn't mandatory

        Attachments

          Activity

            People

            • Assignee:
              pradeep.nayak Pradeep Nayak
              Reporter:
              monish.deb Monish Deb
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: