[MGNLUI-4930] Disabling search result supplier doesn't have effect Created: 27/Dec/18  Updated: 01/Jun/19  Resolved: 26/Jan/19

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.0
Fix Version/s: 6.1

Type: Bug Priority: Neutral
Reporter: Hieu Nguyen Duc Assignee: Hieu Nguyen Duc
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 1h
Time Spent: 2d 6.5h
Original Estimate: 3d

Attachments: PNG File defintionsApp.png     PNG File searchResult.png    
Issue Links:
relation
is related to MGNLPER-111 JcrSearchResultSupplier does not use ... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: Search relevance
Sprint: Foundation 2, Foundation 3
Story Points: 5

 Description   

Steps to reproduce:

+ Open "/tours/searchResultSuppliers/tours.yaml" in Resources app

+ Add "enabled: false"

=> Expected: Search result will not include workspace "tours"

=> Actual: Search result shows results for "tours"

 

Do the same thing for "/periscope-core/searchResultSuppliers/pages.yaml" and there's no result for workspace "website". This is correct.

 

The root cause may be:

FindBar#initialiseJCRSearchResultSuppliers didn't check SearchResultSupplierDefinition#isEnabled


Generated at Mon Feb 12 09:21:32 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.