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

civicrm upgrade to 4.1 via drush ends in drush error

    Details

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

      Description

      When running drush civicrm-upgrade-db, drush terminates unexpectedly.

      That happens because the theme call made during the upgrade process calls exit.

      The attached patch fixes this problem and doesn't seem to cause other problems. However, it makes a potentially impactful change in the theme function in CRM/Utils/System/Base.php.

      I think it's the correct change, since the current behavior prints and exits even if the $print variable is set to false.

      However, it would be good to get another set of eyes before committing.

        Attachments

          Activity

            People

            • Assignee:
              pratik.joshi Pratik Joshi
              Reporter:
              jamie Jamie McClelland
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: