Details
-
Bug
-
Resolution: Fixed
-
Minor
-
6.2.4, 6.3
-
None
-
Unknown
-
N/A
-
N/A
-
Description
Steps to reproduce:
- in the Wiki Admin, section Annotations, set "Display annotations by default" to yes
- view the search page, i.e. by trigerring the seach
The UI shows at the bottom the the page a "Loading Annotations ..." status followed by an error message: "Failed: Wrongly formatted server response".
The error message seems to be caused by querying:
http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages/Search/annotations?media=json
which then redirects to:
http://localhost:8080/xwiki/bin/view/Main/Search?media=json&f_type=DOCUMENT&f_locale=en&f_locale=&r=1
The latter returns an HTML-page and not the expected JSON.
Attachments
Issue Links
- is duplicated by
-
XWIKI-13250 Error notification displayed at the bottom of the page, when enabling showing annotations on Solr Search page
- Closed
- is related to
-
XWIKI-6326 Adding annotations on Main.WebSearch causes search results to not be displayed when the annotations are displayed
- Open