Closed (won't fix)
Project:
Drush
Version:
8.x-6.x-dev
Component:
Base system (internal API)
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
12 Sep 2009 at 17:17 UTC
Updated:
11 Sep 2013 at 04:55 UTC
If on the Drupal 6 site the theme is located in the profile folder, then on the drush site update that theme is not loaded and as a result the theme is disabled.
Attached patch fixes this bug. It moves full bootstrapping before the drupal_maintenance_theme() function in which paths to the themes are collected and stored in the static variable.
Also, assignment $profile = variable_get('install_profile', 'default'); is not needed here as the $profile is already populated on full bootstrap.
| Comment | File | Size | Author |
|---|---|---|---|
| drush.patch | 1.45 KB | miglius |
Comments
Comment #1
moshe weitzman commentedDo other versions (D5, D7) need changes? Can anyone review this?
Comment #2
adrian commentedduring an upgrade to drupal 6 , the site can't bootstrap full yet.
Comment #3
samhassell commentedI have a D6 situation that sounds the same as this - however it is occurring during 'drush updb', not an actual drupal version upgrade.
I'm working around it by setting the theme enabled after the update with:
drush sql-query "update system set status = 1 where name = 'themename';"
Comment #4
greg.1.anderson commentedThis issue was marked
closed (won't fix)because Drush has moved to Github.If desired, you may copy this bug to our Github project and then post a link here to the new issue. Please also change the status of this issue to
closed (duplicate).Please ask support questions on Drupal Answers.