Fatal error when accessing Navigation Blocks on a minimal profile installation because of the Shortcut block

Created on 3 May 2024, 2 months ago
Updated 1 June 2024, about 1 month ago

Problem/Motivation

After an fresh install of Drupal 11 with a minimal installation profile, there is a fatal error on the Navigation block settings page (see capture). This is caused by a missing dependency to drupal:shortcut. The nav block \Drupal\navigation\Plugin\Block\NavigationShortcutsBlock depends on it.

Steps to reproduce

* Install a fresh Drupal 11
* Enable navigation module
* Go to Admin > Config > User interface > Navigation blocks
* Result: WSOD.

Proposed resolution

* Quick fix: Add the missing dependency to shortcut in the info file.
* Long term fix: TBD

Remaining tasks

* Quick fix: review and merge attached MR
* Long term fix: TBD

πŸ› Bug report
Status

Fixed

Version

10.3 ✨

Component
NavigationΒ  β†’

Last updated about 10 hours ago

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024