Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
search.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2026 at 05:14 UTC
Updated:
19 Sep 2026 at 08:30 UTC
Jump to comment: Most recent
Comments
Comment #3
quietone commentedComment #4
quietone commentedComment #5
smustgrave commentedFollowed up to @dcam comment.
Comment #6
quietone commentedComment #7
smustgrave commentedShould BlockHiddenRegionTest be addressed too?
Comment #8
smustgrave commentedThink BlockHiddenRegionTest could be included. Needs a little refactoring but it's not actually doing anything search related. Just label checking.
Comment #9
quietone commentedIt looks to me that that test will need a replacement block to test with. For me, that moved it out this set of very easy ones.
Comment #10
dcam commentedHey guys, I'm sorry I didn't come back to this sooner. I usually try to follow up on my reviews right away.
My feedback was addressed. And the new changes to
BlockHiddenRegionTestlook OK to me. In my opinion the changes are simple enough. They're similar to the change we made inAjaxFormCacheTest. So I would include them.The one thing I don't get is that the
BlockHiddenRegionTestdockblock's comment says:But I can't tell that there's any check that a block isn't inherited. Maybe it does and I just don't understand it due to a lack of comments in the test function.
Anyway, the
test_form_in_blockappears to be a drop-in replacement for the search block here too, with only minor text changes required to make the test continue to work.Comment #11
catchCommitted/pushed to main, thanks!
Comment #16
quietone commentedRe-opening as part of deprecating Search. These changes should be on 11.x as well.
Comment #18
quietone commentedComment #19
quietone commentedComment #20
quietone commentedI cherry-picked the commit from main. There was one conflict, in ViewEntityDependenciesTest.php
Comment #21
smustgrave commentedDoes this need release manager for main too? Should that be reverted?
Comment #22
quietone commentedThe commit on main is correct, there is nothing to change on main. This just should have been committed to 11.x but was missed. It was discovered when backporting the deprecation of Search to 11.x, #3565781-30: Deprecate the Search module
Comment #23
catchBackport looks straightforward, going ahead here. Committed/pushed to 11.x, thanks!