Problem/Motivation

This is a recurrence of #2595245: "excluded" configuration should not be automatically packaged.

From that issue:

When an admin manually edits a feature and removes a configuration item, that item is designated as "excluded". When an admin subsequently edits the feature, the item will show up as automatically detected (blue) but will not be checked by default. This is working as expected.

However, when a set of features is regenerated, the "excluded" flag is ignored; configuration is assigned to the feature whether or not it has been previously flagged as "excluded".

The expected behaviour is that any configuration marked as excluded will not be assigned to the given feature when the feature set is regenerated.

In a related bug, when a given feature is exported via Drush, the "excluded" flag is also ignored.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nedjo created an issue. See original summary.

nedjo’s picture

Component: Code » Assignment Plugins
Status: Active » Needs review
FileSize
770 bytes
nedjo’s picture

Issue tags: +Needs tests
nedjo’s picture

A tests-only patch. Should fail.

Status: Needs review » Needs work

The last submitted patch, 4: features-excluded-28913534-4-tests-only.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

nedjo’s picture

And now with the fix.

  • nedjo committed 7cd5cd8 on 8.x-3.x
    Issue #2891353 by nedjo: Regression: "excluded" configuration should not...
nedjo’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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