Closed (won't fix)
Project:
Features
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Dec 2010 at 00:09 UTC
Updated:
9 Jul 2012 at 21:06 UTC
What is the proper way of having a previously enabled feature enable new module dependencies, other than going to admin/build/modules and saving? When this occurs the features list should identify that feature as being overridden and there should be a way to "revert" it via admin/build/features/%.
Comments
Comment #1
damienmckennaComment #2
kenorb commentedComment #3
kenorb commentedDid you tried 'Dependencies' from dropdown when exporting the Features?
Comment #4
infojunkieI tried adding dependencies explicitly but they're not being enabled.
Comment #5
damienmckennaExporting is not the issue, it's when a Feature is updated to depend on other modules that there's no provided way to enable the new modules without going to admin/build/modules & saving.
Comment #6
Grayside commentedThis is a problem regardless of whether its a feature or a module. Ideally this should be addressed as part of core, or perhaps in drush.
If you are comfortable on the command-line, install drush. Using "drush en modulename" is much faster than loading the modules page and clicking around.
Comment #7
damienmckenna@grayside: If you're running "drush en" on a module that's already installed, will it actually do anything? Does it check to see if the dependencies are satisfied? (I haven't looked into it yet)
Comment #8
Grayside commented@DamienMcKenna it will not, but typing `drush en this` and `drush en that` is still faster than the modules page in my opinion.
It would be interesting if there were a flag for en that checked for dependencies of any module and offered to dl them.
Comment #9
damienmckenna@grayside: good idea: #1105642: Option for pm-enable to enable disabled dependencies
Comment #10
hefox commentedFeatures enables missing dependencies on cache clear I've noticed; can someone test this against -dev?
Comment #11
scor commentedconfirmed that dependencies are enabled after clearing the cache twice.