[warning] The "system_menu_block:welcome" block plugin was not found

Created on 20 November 2024, 5 months ago

Problem/Motivation

The message appears on install

[warning] The "system_menu_block:welcome" block plugin was not found

Steps to reproduce

Run

ddev drush site:install --yes

and observe the output.

πŸ› Bug report
Status

Active

Component

Track: Installer

Created by

πŸ‡¬πŸ‡§United Kingdom tonypaulbarker Leeds

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

Comments & Activities

  • Issue created by @tonypaulbarker
  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

    I've seen this too. It's not installer-related, there's something wonky in a recipe somewhere. Pretty sure it's the dashboard one, so categorizing this issue under that track until it's proven that it's innocent!

  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

    Self-assigning to squash this bug with test coverage.

  • πŸ‡ͺπŸ‡ΈSpain penyaskito Seville πŸ’ƒ, Spain πŸ‡ͺπŸ‡Έ, UTC+2 πŸ‡ͺπŸ‡Ί

    "system.menu.welcome.yml" is provided by drupal_cms_starter, not the drupal_cms_dashboard.

    I can't find any menu link added to the welcome menu outside of starter itself, and afaik config is installed before content in recipes.

    Eventually this is a problem that needs to be solved or decided to be ignored. If not, every recipe that provides a menu link needs to depend on the recipe providing the menu itself, which might be un-ideal. Wish we could create content optionally, as we can with config.

    Aside of the warning, this works, as the menu link is created even when a menu doesn't exist (yet).

    The welcome menu needs to be removed anyway from Drupal CMS.

  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

    We could either remove it, or just move the menu into the dashboard recipe. Your choice!

  • πŸ‡ͺπŸ‡ΈSpain penyaskito Seville πŸ’ƒ, Spain πŸ‡ͺπŸ‡Έ, UTC+2 πŸ‡ͺπŸ‡Ί

    Oh, I just see now the problem is with the block itself, not the menu.

  • πŸ‡ͺπŸ‡ΈSpain penyaskito Seville πŸ’ƒ, Spain πŸ‡ͺπŸ‡Έ, UTC+2 πŸ‡ͺπŸ‡Ί

    πŸ› Calculate dependencies should include block dependencies Active was fixed before tagging alpha1, but we never exported the dashboard again.

    With

      config:
        - system.menu.welcome
      module:
        - layout_builder
        - layout_discovery
        - system
    

    the warning still shows though. I guess we need to clear the plugin cache somewhere? This might be a bug somewhere in core (layout builder?), recipe installation system or the dashboard itself.
    I'd say layout builder as ddev drush si --yes demo_umami also throws

     [warning] The "field_block:node:page:field_body" block plugin was not found
     [warning] The "extra_field_block:node:page:links" block plugin was not found
     [warning] The "extra_field_block:node:page:content_moderation_control" block plugin was not found
     [warning] The "field_block:node:page:field_body" block plugin was not found
     [warning] The "extra_field_block:node:page:links" block plugin was not found
     [warning] The "extra_field_block:node:page:content_moderation_control" block plugin was not found
     [warning] The "field_block:node:article:field_tags" block plugin was not found
     [warning] The "field_block:node:article:field_media_image" block plugin was not found
     [warning] The "field_block:node:article:field_body" block plugin was not found
     [warning] The "extra_field_block:node:article:links" block plugin was not found
     [warning] The "extra_field_block:node:article:content_moderation_control" block plugin was not found
     [warning] The "field_block:node:article:field_tags" block plugin was not found
     [warning] The "field_block:node:article:field_media_image" block plugin was not found
     [warning] The "field_block:node:article:field_body" block plugin was not found
     [warning] The "extra_field_block:node:article:links" block plugin was not found
     [warning] The "extra_field_block:node:article:content_moderation_control" block plugin was not found
    
  • πŸ‡ͺπŸ‡ΈSpain penyaskito Seville πŸ’ƒ, Spain πŸ‡ͺπŸ‡Έ, UTC+2 πŸ‡ͺπŸ‡Ί

    Even if welcome menu will be removed, I'm not closing this as will affect any other block we might have.

  • πŸ‡ͺπŸ‡ΈSpain penyaskito Seville πŸ’ƒ, Spain πŸ‡ͺπŸ‡Έ, UTC+2 πŸ‡ͺπŸ‡Ί
  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

    I’m downgrading this to a minor bug because:

    • Everything still works; there’s just a little warning during an install with Drush only, which our target audience (marketers) won’t use
    • This does not affect the UI installer

    I’ve got bigger fish to fry at the moment. :) Un-assigning. If anyone else wants to pick this up, please be my guest!

  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

    Fixing this as part of πŸ› Help link is hardcoded in Navigation block Active .

Production build 0.71.5 2024