Problem/Motivation

In some cases, Features will display duplicate packages, one prefixed with the bundle name and one not.

Steps to reproduce:

  • Install Drupal with the Standard install profile.
  • Enable Features and create a bundle with the machine name 'test'.
  • Export the 'Article' feature and enable it.
  • Configure the bundle, disabling the 'existing' assignment plugin.
  • Revisit the Features generation page. Result: two different "Article" features are displayed: test_article and article. The former shows as having conflicts. All configuration from test_article shows as having been assigned also to test.

The issue seems to arise at least in part from the use of the full (prefixed) name for existing packages.

Proposed resolution

Use short names for existing packages, so that duplicate packages will not be created. Pass bundle object as needed to enable fetching of full name when needed.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

nedjo created an issue. See original summary.

  • nedjo committed 18dfef5 on 8.x-3.x
    Issue #2596047 by nedjo: fix generation of duplicate packages by using...
nedjo’s picture

Issue summary: View changes
nedjo’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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