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.
Comments
Comment #3
nedjoComment #4
nedjo