Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
16.4.0-rc-1
-
Unknown
-
Description
XWiki.SearchSuggestCode was introduced in XWIKI-22155
Reproduction steps
- Visit http://localhost:8080/xwiki/bin/view/Sandbox/
- open the browser debugger and make sure "disabled cache" is unchecked
- Click on Sandbox Test Page 1 to go to http://localhost:8080/xwiki/bin/view/Sandbox/TestPage1
- check the network tab
Expected
http://localhost:8080/xwiki/bin/get/XWiki/SearchSuggestCode is not called unless the user needs to make a search
Actual
http://localhost:8080/xwiki/bin/get/XWiki/SearchSuggestCode is called preemptively whenever the user visits a page.
This remote call should only be performed when the user starts using the search.