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

crm_get_locations returns an error if a contact has no location records

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Blocker
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.4
    • Labels:
      None

      Description

      If a contact has no locations attached to it, a call to crm_get_contacts will return a CRM_Core_Error object with an error of "Location information is empty", rather than return an empty array.

      This has been verified in the source by Lobo on the 1.4 tree, and I hear he's going to rev the release.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              torenware Rob Thorne
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: