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

Failed to retrieve suggestions error displayed many times when search is made with a disabled user account

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Trivial
    • None
    • 11.10.5, 12.4
    • Windows 10 Pro 64 bit, Firefox 77, using a local instance XWiki 11.10.5 on Oracle 19c, Tomcat 9.0.35
    • Unknown

    Description

      STEPS TO REPRODUCE

      1. Login as Admin
      2. Create an user (e.g. U1)
      3. Go to user's profile page
      4. Click 'Disable this account'
      5. Login with U1
      6. Type a page name in quick search bar

      EXPECTED RESULTS

      On the bottom of the page is displayed the reason why the search cannot be performed (e.g. 'This account is disabled').

      ACTUAL RESULTS

      The red error message 'Failed to retrieve suggestions: ' is displayed 6 times at once, without the reason why that happens (the user must deduce it's because his account is disabled, but it's not obvious all the times).

      Also, the spinning wheel from the search bar keeps spinning after the error messages disappear.

      Attachments

        Activity

          People

            Unassigned Unassigned
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: