[
http://jira.xwiki.org/jira/browse/XWIKI-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_20056
]
Sergiu Dumitriu commented on XWIKI-1849:
----------------------------------------
This is caused by the fact that there is no order of the requests. The
equivalent of a multithreading issue in the AJAX world...
If I quickly type 'vincent', 7 requests (or more?) are made to the server, and
the responses don't always come in the right order. This means that the results
for 'vincent' might come before the results for 'vinc', thus the actual results
will be those for 'vinc'.
Another situation, given the asynchronous nature of the requests, is when more
callbacks are trying to update the table at the same time, and a table with
results from multiple filters is created. For example, I managed to get the
same user listed twice.
We could fix this by returning the queried string in the response, and if we
get a response that doesn't match the expected request, then ignore it.
Also, we should have a delay between the typing and the request, so that if I
quickly type 'vincent', I don't make 7 requests, but one after I enter all the
letters.
> Refresh issue when filtering users
> ----------------------------------
>
> Key: XWIKI-1849
> URL: http://jira.xwiki.org/jira/browse/XWIKI-1849
> Project: XWiki Platform
> Issue Type: Bug
> Components: Authentication and Rights Management
> Affects Versions: 1.1.2, 1.2 M2
> Environment: FF 2.0.0.9 on Mac OSX 10.5 Leopard
> Reporter: Vincent Massol
> Assigned To: Evelina Slatineanu
> Fix For: 1.3 M1
>
> Attachments: correctfilter.png, wrongfilter.png
>
>
> For example if I search for "vin" I get the following attached image. It
> doesn't always fail. I've had to try 3 times to get that image but it happens
> quite often.
> If I open another application in front of FF and switch to FF again, it
> immediately refreshed fine (see attached image).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications