Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.4.14, 4.6.3
-
Fix Version/s: 4.7
-
Component/s: CiviCRM API
-
Labels:None
-
Documentation Required?:Developer Doc
-
Funding Source:Contributed Code
Description
Let's say we have the following Rest API call (with proper credentials)
sites/all/modules/contrib/civicrm/extern/rest.php?version=3&field=country&entity=Address&action=getoptions
Right now it results in empty <Result> tags, as the CRM_Utils_REST class is not prepared for this type of structure.