Problem/Motivation

If a feature is already present and already has assigned configuration, that configuration should be reassigned to the feature provided it has not been assigned elsewhere or otherwise excluded.

Proposed resolution

Introduce an "Existing configuration" assignment plugin that reassigns configuration items to the feature they're already present in if they still exist on the site. Use a high default weight so that this plugin will run after other plugins that might reassign configuration.

Remaining tasks

User interface changes

API changes

Comments

nedjo’s picture

nedjo’s picture

Project: Configuration Packager » Features
Version: 8.x-1.x-dev » 8.x-3.x-dev
Component: Assignment plugins » Assignment Plugins
Issue summary: View changes
mpotter’s picture

Status: Active » Fixed

This is completed. The code for review is in #2401583: Recognize existing modules in the curent feature set.

The AssignmentPackages plugin is responsible for detecting and creating the actual existing packages. The AssignmentExisting plugin takes any remaining config that hasn't yet been assigned that was part of an existing package and puts it into the package.

Status: Fixed » Closed (fixed)

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