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

Api ContactType Create Fails for Update

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.6, 4.5
    • Fix Version/s: 4.5.3
    • Component/s: CiviCRM API, Core CiviCRM
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      ContactType.create for an update fails for any query.
      Also effects managed entities which uses the same code.

      e.g. -
      /civicrm/ajax/rest?entity=ContactType&action=create&debug=1&sequential=1&json=1&id=3&is_active=0

      (totten found) suspect code at:
      https://github.com/civicrm/civicrm-core/blob/master/CRM/Contact/BAO/ContactType.php#L644

        Attachments

          Activity

            People

            • Assignee:
              atif.shaikh Atif Shaikh
              Reporter:
              ginkgomzd Michael Z Daryabeygi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: