On Drupal 7, pm-enable and pm-disable needs to respect the order of dependencies. The list passed to module_enable() and module_disable() is supposed to be in the proper order when $enable_dependencies as documented in the API documentation.

Comments

damien tournoud’s picture

Status: Active » Needs review
StatusFileSize
new1.05 KB

Patch for 5.x.

jonhattan’s picture

Status: Needs review » Fixed

This is reproducible by disabling all of the commerce modules and trying drush en commerce_tax_ui.

Above patch fixes it. Commited.

jonhattan’s picture

Version: » All-versions-4.x-dev
Assigned: Unassigned » msonnabaum
Status: Fixed » Patch (to be ported)
msonnabaum’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

silverfly’s picture

**edit** Not helpful - deleted