Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently features_get_component_map
includes hidden modules. This is the function used by features_get_conflicts
to check component conflicts. Hidden modules will show up as a conflict for non-hidden modules which can be a bit confusing.
Incoming patch which ignores hidden modules - and to prevent issues with the test module, it'll alter system info to make it unhidden when enabled for testing.
Comment | File | Size | Author |
---|---|---|---|
#1 | ignore_hidden_modules-2479803-1.patch | 1.23 KB | mglaman |
Comments
Comment #1
mglamanPatch attached.
Comment #2
mpotter CreditAttribution: mpotter commentedBut I think this is wrong. If you have a hidden module that contains the same config as some other Feature, then it *should* show as a conflict. What matters is if the module is enabled or not. If the module is enabled it needs to flag a conflict regardless of if it's hidden.