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
- Install a fresh site with the RightUp site template.
- 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
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
Comment #4
rajab natshahReleased in rightup 1.0.0-alpha1.
Comment #6
rajab natshah