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

API primary address handling is creating extraneous record in log tables

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      None

      Description

      The API is setting other addresses to be is_primary = 0 before saving an address, email etc update as is_primary = 1. At the moment it sets is_primary = 0 for all existing addresses for the contact. After saving the incoming there is exactly one primary address so the outcome is correct. But, the log tables record changes which is not an accurate reflection of what has happened

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: