Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Duplicate
-
Affects Version/s: 4.1.2
-
Fix Version/s: 4.4.0
-
Component/s: CiviCRM API
-
Labels:
Description
When using the extern REST v3 API (/sites/all/modules/civicrm/extern/rest.php), hooks do not run. This is because the CMS Bootstrap is not loaded. This happens when the 'q' ('civicrm/<entity>/<action>) request parameter is not provided. However, the 'q' parameter should not be necessary for v3; entity and action parameters should be useable instead. I have attached a file with a proposed fix within loadCMSBootstrap(). The modified file is based on the 4.1.3 release.
Attachments
Issue Links
- duplicates
-
CRM-11212 Drupal does not bootstrap from extern/rest.php
- Done/Fixed