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

Location APIs corrupt is_primary field on update

    Details

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

      Description

      This issue just came up for webform_civicrm. When updating a location (email, address, website, or phone) through the v3 API, I had been leaving the is_primary param unset, preferring to leave that value untouched. Unfortunately, if that param is not set, the updated entity will always have is_primary set to FALSE.
      Also see http://drupal.org/node/1253250

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              colemanw Coleman Watts
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: