Problem/Motivation

drush en cucumber_components fails with "Configuration objects provided by cucumber_components have unmet dependencies: field.field.node.component.field_features (media.type.feature)". Core validates config/install up front and never sees gherkin's optional media.type.feature, so declaring a dependency does not help (verified). cucumber_products and cucumber_projects have the same gap.

Steps to reproduce

On a fresh Drupal 11.4.7 + PHP 8.4 site with assertions on, without gherkin installed: drush en cucumber_components.

Proposed resolution

Move the features field and its four displays to config/optional in cucumber_components, cucumber_products and cucumber_projects, and declare the gherkin dependency in the info files and composer.json.

Remaining tasks

  • ✅ File an issue about this project
  • ❌ Addition/Change/Update/Fix to this project
  • ❌ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ❌ Reviewed by a human
  • ❌ Code review by maintainers
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes
  • ❌ Release

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rajab natshah created an issue. See original summary.

  • rajab natshah committed d8edce38 on 12.0.x
    fix: #3625320 Ship the features field as optional config so the modules...
rajab natshah’s picture

Status: Active » Fixed
Issue tags: +cucumber_recipes-12.0.1

✅ Released in cucumber_recipes 12.0.1.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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