Config dependency difference between Drupal 11.1 and 11.2

Created on 11 June 2025, 12 days ago

Problem/Motivation

I work on LocalGov Drupal and since the 11.2 beta some of our tests have started failing with the following error;

Drupal\Core\Config\UnmetDependenciesException: Configuration objects provided by <em class="placeholder">localgov_paragraphs</em> have unmet dependencies: <em class="placeholder">core.entity_view_display.paragraph.localgov_contact.default (filter.format.wysiwyg)</em> in Drupal\Core\Config\UnmetDependenciesException::create() (line 100 of /app/web/core/lib/Drupal/Core/Config/UnmetDependenciesException.php).

This works fine under Drupal 10.4.x and Drupal 11.1.x and only seems to affect Drupal 11.2.x

From investigating, even though there is a config dependency for "filter.format.wysiwyg" it says it's an unmet dependency despite the install profile installing the "filter" module and "localgov_media" installing the wywiwyg format. From what I can tell it tries to install the dependencies in the wrong order.

Steps to reproduce

  1. Clone https://github.com/localgovdrupal/localgov_project/tree/3.2.x
  2. Change drupal core to 11.2.0-rc1@RC
  3. Install the "LocalGov Drupal" profile via the web UI or run the following phpunit test (phpunit --filter='ParagraphsAdministrationTest::testParagraphsTypes' /app/web/modules/contrib/localgov_paragraphs)
πŸ› Bug report
Status

Active

Version

11.2 πŸ”₯

Component

configuration system

Created by

πŸ‡¬πŸ‡§United Kingdom millnut

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024