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

Share Page: Problems if the user types fast and doesn't let the user suggest make its requests

    XMLWordPrintable

Details

    • Unknown

    Description

      Test Case 1:

      • Open "Share by email" dialog
      • Enter a name (like "ecaterina") that doesn't have any match in the existing users (the suggest is not returning anything)
      • Press enter - it will add "ecaterina" in the list, step1.png
      • Write "admin" and select from the suggest "Administrator"
      • "Administrator" will be added to the list, step2.png
      • Try writing "eduard" rapidly and press ENTER, step3.png
      • "eduard" will not be added to the list and the input will be cleared
      • same will happen for any other text you want to add, it will not be added to the user's list

      In order to "fix it" you need to write something that will trigger the suggest, this means writing something that starts with "A" (because Admin is an user) or writing more slow (with pauses between the letters in order for the suggest to be triggered by executing a request).

      Note: Adding duplicate entries doesn't display any warning, just clears the input and lets the user list unmodified.

      Test Case 2:

      • Open "Share by email" dialog
      • Write fast "ecaterina" and press ENTER
      • you will get fastEcaterina.png
      • Do the same by writing "admin"
      • you will get fastAdmin.png with the delay in the suggest

      Attachments

        1. fastAdmin.png
          fastAdmin.png
          24 kB
        2. fastEcaterina.png
          fastEcaterina.png
          22 kB
        3. step 1.png
          step 1.png
          19 kB
        4. step 2.png
          step 2.png
          20 kB
        5. step 3.png
          step 3.png
          22 kB

        Activity

          People

            mflorea Marius Dumitru Florea
            evalica Ecaterina Moraru (Valica)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: