Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-11447

Error message when trying to load annotations on search page

    XMLWordPrintable

Details

    • 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

          Activity

            People

              acotiuga Alex Cotiugă
              camil7 Clemens Robbenhaar
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: