Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.4.7, 4.0.7
-
Component/s: CiviCRM API
-
Labels:None
Description
api.group.getfields was returning the wrong fields (for theCRM_Mailing_DAO_Group instead of the "normal" CRM_Contact_DAO_Group ).
The fix generates a comment in CRM/Core/DAO/.listAll.php instead of overwriting the "Group" key.
The fix identified other potential problems (nothing urgent, they aren't exposed on the API anyway):
CRM_Core_DAO_Component
//NAMESPACE ERROR: Component already used . CRM_Mailing_DAO_Component ignored.
$dao['Cache'] = 'CRM_Core_DAO_Cache';
//NAMESPACE ERROR: Cache already used . CRM_ACL_DAO_Cache ignored.
X+