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

Custom Group Tables are not added in Views module during Drupal Testing SetUp phase.

    Details

      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

        Attachments

        1. civicrm.views.inc.patch
          1 kB
          Jocelyn Chabot
        2. Drupal.php.patch
          0.9 kB
          Jocelyn Chabot

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jchabot Jocelyn Chabot
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: