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

Getfields for Address Entity returns World Region with no type

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.5.2
    • Fix Version/s: 4.6
    • Component/s: CiviCRM API
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      To reproduce, Using API Explorer run Getfields for Address and the last entry shows only name and title of "World Region".
      {

      { "name":"manual_geo_code", "type":16, "title":"Is manually geocoded" }

      ,

      { "name":"timezone", "type":2, "title":"Timezone", "maxlength":8, "size":8 }

      ,

      { "name":"name", "type":2, "title":"Address Name", "maxlength":255, "size":45, "import":true, "where":"civicrm_address.name", "headerPattern":"\/^location|(l(ocation\\s)?name)$\/i", "dataPattern":"\/^\\w+$\/", "export":true }

      ,

      { "name":"master_id", "type":1, "title":"Master Address Belongs To", "import":true, "where":"civicrm_address.master_id", "headerPattern":"", "dataPattern":"", "export":true, "FKClassName":"CRM_Core_DAO_Address", "FKApiName":"Address" }

      ,

      { "title":"World Region", "name":"world_region" }

      ]
      }

        Attachments

          Activity

            People

            • Assignee:
              jitendra.purohit Jitendra Purohit
              Reporter:
              sonicthoughts shawn holt
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: