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

Activity API errors - bad validation and incorrect return value

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2.4
    • Component/s: CiviCRM API
    • Labels:
      None

      Description

      The Activity API validator throws an error when creating a new activity and target_contact_id is passed as an array of multiple ids. So I continue to bypass the validator for it to work correctly.
      Also, activity_update function now returns an object instead of an array, causing fatal errors in my existing code – I have disabled the part of my code that checks the return value for error data, for now.

        Attachments

          Activity

            People

            • Assignee:
              ashwini Ashwini Poharkar
              Reporter:
              colemanw Coleman Watts
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: