Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.4
-
Fix Version/s: 4.3.6
-
Component/s: CiviCRM API
-
Labels:None
Description
Think this was discussed as part of CRM-10120 previously.
If an API call to rest.php uses API key auth, it authenticates correctly. However if a key 'name' exists, the Drupal6 loadBootStrap method will fail because it prefers name over uid (passed in for key auth).
Updating Drupal6.php with the method from Drupal.php (in 4.3) and moving the method to DrupalBase.php (4.4) should resolve this.