Closed (fixed)
Project:
Provision CiviCRM
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
2 May 2012 at 02:41 UTC
Updated:
22 May 2012 at 23:10 UTC
Since the recent merge with upstream, that restructured the drush module to be cleaner, it introduced a series of bugs because the civicrm drush module assumes that CiviCRM is available in the platform.
For example, "drush cc all", will complain that it cannot open CRM/Core/Config.php, on a site that is not running CiviCRM.
Needs to be fixed upstream.
Comments
Comment #1
omega8cc commentedIt also breaks Hostmaster upgrade.
I had to revert to https://github.com/omega8cc/provision_civicrm/commit/57d3d790b48e5c1c2e6... to avoid breaking everything.
Comment #2
bgm commentedergonlogic pointed me to:
https://drupal.org/node/704848#comment-2562672
and suggested an easy fix: to rename functions such as drush_civicrm_sql_cli() to drush_civicrm_sqlcli() and declare its callback explicitely. Seems to be working, might commit.
Comment #3
bgm commentedI committed a fix in 6.x-1.x. Please review/test!
Comment #4
bgm commentedI talked with totten of civi about it, and merged the code upstream. Closing the issue.