Closed (fixed)
Project:
Drush
Version:
7.x-5.2
Component:
PM (dl, en, up ...)
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
22 May 2012 at 20:36 UTC
Updated:
6 Jun 2012 at 17:21 UTC
Jump to comment: Most recent
From version 5.2 on when I attempt to enable or disable a module on a Drupal 6 site all modules are installed.
This seems to be caused by the following commit:
http://drupalcode.org/project/drush.git/blobdiff/20fb05a4d372de2e741c3e5...
The drush_get_modules function seems to get all modules on the system and then we send them to drush_system_modules_form_submit. This one seems to expect only the active modules, but all modules are passed.
Comments
Comment #1
simeConfirmed here, does not happen with 5.1
Comment #2
Anonymous (not verified) commentedSame here. Rolled back to 5.1.
Comment #3
a_c_m commented+1 also getting this with drush version 6.0-dev
Comment #4
jonhattanMy fault. It's a regression introduced with #1565888: pm-enable and pm-disable throw errors when hidden modules are enabled
Comment #5
Antonio01 commentedWith the 5.1 version update code disable all module on my drupal 6 install. Is it the same error ?
http://drupal.org/node/1591394
Comment #6
jonhattanFixed. http://drupalcode.org/project/drush.git/commit/48785af