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

Namespace issues on the API (group)

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.7, 4.0.7
    • Fix Version/s: 3.4.8, 4.0.8
    • 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+

        Attachments

          Activity

            People

            • Assignee:
              xavier xavier dutoit
              Reporter:
              xavier xavier dutoit
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: