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

Contact API crash and burn when custom data in params

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.0, 4.0.0
    • Fix Version/s: 3.4.0
    • Component/s: CiviCRM API
    • Labels:
      None

      Description

      A call to api contact create (add or update) will completely fail if custom data is passed in the params and the acting user does not have "access all custom data" permission.
      This affects both api v2 and v3.

        Attachments

        1. Contact.patch
          0.9 kB
          Coleman Watts
        2. CustomField.patch
          5 kB
          Coleman Watts
        3. utils.patch
          4 kB
          Coleman Watts

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              colemanw Coleman Watts
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: