Details
-
Type:
Bug
-
Status: Done/Fixed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 4.0.1
-
Fix Version/s: 4.5
-
Component/s: Drupal Integration Modules
-
Labels:
Description
I use Testing with CiviCRM and Views. But, during the Testing execution, the CiviCRM Custom Group Tables aren't not added in the Views module by the hook_views_data.
The problem is because the execution of civicrm_views_data function is under Drupal anonymous users. Thus, the custom tables aren't provided by the CRM_Core_DAO::executeQuery
My proposition : During the Drupal Testing execution, the civicrm_views_data should not take care of the user permissions to add custom tables in the Views module.
So, to do that, here are my patches :
I will appreciate your comments
Thanks