Problem/Motivation
The recipe.yml for the Educare site template lists the Search recipe (drupal_cms_search) before the five Varbase base recipes (Varbase Admin Base, Varbase Security Base, Varbase Media Base, Varbase Editor Base, Varbase Content Base) that build out the site's core content structure.
The Search recipe's own recipe.yml applies two wildcard config actions when it is applied:
node.type.*— sets a Search API Exclude third-party setting on every existing content type.core.entity_view_display.node.*.default— cloned intonode.%.search_index.
Both act only on content types that already exist at the moment Search is applied, so running Search before the Varbase base recipes means it wires up less of the site's eventual content structure than it could.
Steps to reproduce
- On the
1.0.xbranch, openrecipe.ymland note thatdrupal_cms_searchis listed immediately afterdrupal_cms_accessibility_toolsand beforeeasy_email_express, that is, beforevarbase_admin_base,varbase_security_base,varbase_media_base,varbase_editor_baseandvarbase_content_base. - Apply the Educare recipe (
drush recipe recipes/educare, or install through the site template picker) and note that Search's wildcard config actions run before the Varbase base recipes, in particular Varbase Content Base, have finished.
Proposed resolution
Move drupal_cms_search in recipe.yml to apply after varbase_content_base, instead of before all of the Varbase base recipes.
This mirrors #3620223 on the Horizon Aid site template, which makes the same one-line move for the same reason. Educare's recipe.yml has the identical ordering.
What does not apply here
Horizon Aid's issue also cites a harder failure documented in its own CI: without the curated Drupal core patch for #2741429, a fresh install dies inside drupal_cms_search's display cloning with getConfigDependencyName() on null.
That half does not apply to Educare. Educare carries no vardot/drupal-core-patches wiring and no such comment in its .gitlab-ci.yml — the patches requirement and the Drupal CMS wiring script were removed in #3618244. So this issue rests on the wildcard-ordering argument alone, which is a property of the Search recipe itself and holds regardless.
Remaining tasks
- ✅ File an issue
- ✅ Addition/Change/Update/Fix
- ✅ Testing to ensure no regression
- ➖ 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
- Search's wildcard actions see more of the site's content structure, so more content types get the Search API Exclude setting and the
node.%.search_indexview display clone at install time.
Release notes snippet
- Apply the Search recipe after Varbase Content Base, so its wildcard config actions see the content types the Varbase base recipes create.
AI-Generated: Yes
Issue fork educare-3620242
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 natshah✅ Released educare-1.0.0-alpha3
Comment #5
rajab natshahComment #6
rajab natshah