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

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 11.10.5, 12.4
    • Fix Version/s: None
    • Labels:
    • Environment:
      Windows 10 Pro 64 bit, Firefox 77, using a local instance XWiki 11.10.5 on Oracle 19c, Tomcat 9.0.35
    • Difficulty:
      Unknown
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated: