Problem/Motivation

The config menu_item_extras.utility config of the menu_item_extras module breaks the /admin/config page when wse_config is active. This basically happens, because menu_item_extras_entity_type_build() is loading the menu_item_extras.utility config which will trigger wse_config which uses entity queries which will again trigger menu_item_extras_entity_type_build() etc.

Steps to reproduce

On Vanilla Drupal 9:

  1. Install menu_item_extras and wse_config modules
  2. Navigate to /admin/config
  3. An infinite loop will occur

Proposed resolution

Ignore the menu_item_extras.utility config in WseConfigSubscriber::onWseConfigOptOut() . This config doesn't need to be overridden inside workspaces at this point. Should that become necessary we can look into it in more detail.

Issue fork wse-3283726

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

s_leu created an issue. See original summary.

s_leu’s picture

Status: Active » Needs review

  • amateescu committed 3523ca5 on 1.0.x authored by s_leu
    Issue #3283726: Workspace config: menu_item_extras.utility config breaks...
amateescu’s picture

Status: Needs review » Fixed

Merged, thanks!

Status: Fixed » Closed (fixed)

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

amateescu’s picture

Component: Code » Workspace Config