Problem

See problem definition in #3092272: [Meta] Moving away from features.

Solution

  • Remove the module.features.yml file
  • Move the default editable config from hook_install() into a module's config/install/*.yml file.
  • If hook_install alters configuration from other modules, consider whether we should include the config file in the profile's config/install folder to overwrite it instead
  • Remove any _module_set_defaults function

Steps to reproduce

  • Enable all changed modules
  • See that none of them install configuration provided by other modules
  • Change configuration for each module
  • Revert features

Expected result (after fix)

The changed configuration keeps its changes.

Actual result

The changed configuration is reverted to default values.

Comments

Kingdutch created an issue. See original summary.

kingdutch’s picture

Assigned: kingdutch » Unassigned
Status: Active » Needs review
ronaldtebrake’s picture

Status: Needs review » Fixed

  • Kingdutch committed 4704ee9 on 8.x-8.x
    Issue #3097276 by Kingdutch: Remove features from Social Group Quickjoin...
  • Kingdutch committed 8ede6b1 on 8.x-8.x
    Issue #3097276 by Kingdutch: Remove features from Social Secret Group...
  • Kingdutch committed b180f87 on 8.x-8.x
    Issue #3097276 by Kingdutch: Remove features from Social Group module
    
  • Kingdutch committed b882e1d on 8.x-8.x
    Issue #3097276 by Kingdutch: Remove features from Social Flexible Group...
  • ronaldtebrake authored e1aeb83 on 8.x-8.x
    Merge pull request #1621 from goalgorilla/feature/3097276-remove-...

Status: Fixed » Closed (fixed)

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