Problem/Motivation

issueerror

During Drush-based installations of Varbase, warning messages are triggered indicating that certain block plugins were not found. These warnings typically occur when dependent modules or themes providing those block plugins are not yet fully installed or enabled at the time blocks are being placed.

This update ensures the block plugin system is invoked only after all required modules are properly installed, preventing these warnings and ensuring a clean installation experience with Drush.

Steps to reproduce

  1. composer create-project Vardot/varbase-project:10.1.0-alpha1 varbase --no-dev --no-interaction
  2. ddev drush site:install varbase --account-name=admin --account-pass=admin --site-name="Varbase Site"

Proposed resolution

Manage the order of the Default Content module, and the Drupal Core default content import with recipes

#3543978: Fix plugin caches when installing Varbase Core to ensure field_block plugins are available for optional configurations that reference them
#3543975: Fix plugin caches when installing Varbase Demo to ensure field_block plugins are available for optional configurations that reference them
#3543649: Fix plugin caches when installing Varbase Blog to ensure field_block plugins are available for optional configurations that reference them
#3543642: Fix duplicates bundles for cleaner output

Remaining tasks

  • ✅ File an issue about this project
  • ❌ Addition/Change/Update/Fix to this project
  • ❌ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ❌ Code review from 1 Varbase core team member
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes and Update Helper on new feature change/addition
  • ❌ Release

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

After the fix:
ddev install-varbase demo

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A

Comments

abhinesh created an issue. See original summary.

rajab natshah’s picture

Thanks, Abhinesh, for reporting.
I confirm the issue
It is from using the Default Content module, and now it is in Drupal Core.
The order of enabling which module or which plugin.

rajab natshah’s picture

Title: Plugin not found warnings during installation » Fix block plugin not found warnings during Drush installation of Varbase
Issue summary: View changes
rajab natshah’s picture

Assigned: Unassigned » rajab natshah
rajab natshah’s picture

rajab natshah’s picture

rajab natshah’s picture

rajab natshah’s picture

Issue summary: View changes
StatusFileSize
new561.51 KB
rajab natshah’s picture

  • rajab natshah committed 54f34aef on 10.1.x
    Issue #3538500: Fix block plugin not found warnings during Drush...
rajab natshah’s picture

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

Status: Fixed » Closed (fixed)