Problem/Motivation

A fresh install logs eight warnings:

The "views_exposed_filter_block:search-header_search" block plugin was not found  x4
The "views_exposed_filter_block:search-date_block" block plugin was not found     x2
The "views_exposed_filter_block:search-results_block" block plugin was not found  x2

RightUp ships the header search Canvas block components as config files. A recipe imports its config before it runs its actions, so those components are created before the views displays their plugins derive from exist. Non-fatal, they resolve once the actions run, but they are noise on every install.

Steps to reproduce

  1. Install a fresh site with the RightUp site template.
  2. Read the log: drush watchdog:show --count=50.

Proposed resolution

Create canvas.component.block.views_exposed_filter_block.search-header_search and canvas.component.block.views_exposed_filter_block.search-page with createIfNotExists config actions instead of config files, so they are created after the views displays. Same change already made for the Category facet in #3624922 and for the equivalent components in Varbase Search Base.

Every drupal/varbase* constraint stays at x-dev on this branch; pinning belongs to the release issue.

Remaining tasks

  • ✅ File an issue
  • ❌ Addition/Change/Update/Fix
  • ❌ Verify a fresh install on both Drupal CMS and Varbase 11 and confirm the warning count drops
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support
  • ➖ User Guide Documentation support
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ❌ Reviewed by a human
  • ❌ Code review by maintainers
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes
  • ❌ Release

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • The header search block components are now created by config actions, so a fresh install no longer logs missing block plugin warnings.

Issue fork rightup-3624946

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 committed fed46714 on 1.0.x
    fix: #3624946 Create the header search block components as actions
    
rajab natshah’s picture

Status: Active » Fixed

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.

rajab natshah’s picture

Issue tags: +rightup-1.0.0-alpha1

Status: Fixed » Closed (fixed)

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