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

Don't fail upgrades for lack of page preprocess when calling from Drush

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.3
    • Fix Version/s: 4.4.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Upgrading a D6 site to 4.3.3 in Drush triggers this failure - but there's no need to fail for lack of an HTML preprocess function when calling from Drush.

      Please reset the Drupal cache (Administer => Site Configuration => Performance => Clear cached data))

      #0 CRM_Core_Error::fatal(Please reset the Drupal cache (Administer => Site Configuration => Performance => Clear cached data))) called at [/vagrant/wwwroot/foo/sites/all/modules/civicrm/CRM/Upgrade/Incremental/php/FourThree.php:73]
      #1 CRM_Upgrade_Incremental_php_FourThree->setPreUpgradeMessage(, 4.3.beta4, 3.4.8) called at [/vagrant/wwwroot/foo/sites/all/modules/civicrm/CRM/Upgrade/Form.php:656]
      #2 CRM_Upgrade_Form->setPreUpgradeMessage(, 3.4.8, 4.3.3) called at [/vagrant/wwwroot/foo/sites/all/modules/civicrm/CRM/Upgrade/Headless.php:58]
      #3 CRM_Upgrade_Headless->run() called at [/vagrant/wwwroot/foo/sites/all/modules/civicrm/drupal/drush/civicrm.drush.inc:516]
      #4 drush_civicrm_upgrade_db()
      #5 call_user_func_array(drush_civicrm_upgrade_db, Array ()) called at [/usr/share/php/drush/includes/command.inc:334]
      #6 _drush_invoke_hooks(civicrm-upgrade-db, Array (), civicrm) called at [/usr/share/php/drush/includes/command.inc:208]
      #7 drush_command()
      #8 call_user_func_array(drush_command, Array ()) called at [/usr/share/php/drush/includes/command.inc:175]
      #9 drush_dispatch(Array ([description] => Execute the civicrm/upgrade?reset=1 process from the command line.,[aliases] => Array ([0] => cvupdb),[command] => civicrm-upgrade-db,[command-hook] => civicrm-upgrade-db,[bootstrap] => 6,[callback arguments] => Array (),[commandfile] => civicrm,[path] => sites/all/modules/civicrm/drupal/drush,[engines] => Array (),[callback] => drush_command,[sections] => Array ([examples] => Examples,[arguments] => Arguments,[options] => Options),[arguments] => Array (),[required-arguments] => ,[options] => Array (),[sub-options] => Array (),[allow-additional-options] => ,[examples] => Array (),[core] => Array (),[scope] => site,[drupal dependencies] => Array (),[drush dependencies] => Array (),[handle-remote-commands] => ,[strict-option-handling] => ,[bootstrap_errors] => Array (),[topics] => Array (),[hidden] => ,[argument-description] => Array ())) called at [/usr/share/php/drush/drush.php:92]
      #10 _drush_bootstrap_and_dispatch() called at [/usr/share/php/drush/drush.php:61]
      #11 drush_main() called at [/usr/share/php/drush/drush.php:16]

        Attachments

          Activity

            People

            • Assignee:
              xurizaemon Chris Burgess
              Reporter:
              xurizaemon Chris Burgess
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: