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

damienmckenna’s picture

Title: No way to enable new dependencies without going to admin/build/modules? » How to enable new dependencies without going to admin/build/modules?
kenorb’s picture

Category: bug » feature
kenorb’s picture

Did you tried 'Dependencies' from dropdown when exporting the Features?

infojunkie’s picture

I tried adding dependencies explicitly but they're not being enabled.

damienmckenna’s picture

Exporting 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.

Grayside’s picture

This 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.

damienmckenna’s picture

@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)

Grayside’s picture

@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.

damienmckenna’s picture

hefox’s picture

Status: Active » Postponed (maintainer needs more info)

Features enables missing dependencies on cache clear I've noticed; can someone test this against -dev?

scor’s picture

Category: feature » support
Status: Postponed (maintainer needs more info) » Closed (won't fix)

confirmed that dependencies are enabled after clearing the cache twice.