Problem/Motivation

block.block.ui_suite_uikit_main_menu and block.block.ui_suite_uikit_main_menu_offcanvas (config/optional) set the menu block depth to 0. Drupal 11.4 validates settings.depth as 1 to 8 (or empty for unlimited), so a recipe that imports these blocks into an existing site fails:

There were validation errors in block.block.ui_suite_uikit_main_menu_offcanvas: settings.depth: This value should be between 1 and 8.

Steps to reproduce

  1. Install the Standard profile.
  2. Apply a recipe that imports the two menu blocks above (for example webapi_starter before its workaround).

Proposed resolution

Set depth to null (unlimited) in both blocks, and add a test that validates the block configuration of the theme.

Remaining tasks

  • ✅ Issue filed
  • ❌ Patch / merge request
  • ❌ Tests
  • ❌ Reviewed by a human
  • ❌ Code review by maintainers

User interface changes

N/A

API changes

N/A

Data model changes

N/A

AI-Generated: Yes

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’s picture

Status: Active » Fixed

✅ Released in 1.0.3.

The new BlockConfigTest validates every block of config/optional the way a recipe does.

AI-Generated: Yes

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.