When typing slowly in a filter field, it can happen that the delay between two keypresses is higher than the debounce delay.
This will fire two requests close to each others, and the first can complete after the second one, so the displayed results will correspond to the the first request, not the second.
getEntries ([https://github.com/xwiki/xwiki-platform/blob/279c0d1584135f73f194b2b2f585bd6e6652b7b8/xwiki-platform-core/xwiki-platform-livedata/xwiki-platform-livedata-webjar/src/main/webjar/liveDataSource.js#L26C7-L26C17)] should probably cancel former requests before making a new one, or make sure they are handled in order.
How to reproduce: * at [http://localhost:8080/xwiki/bin/view/Main/AllDocs] * set network throttle to GPRS * type "batch" fast * wait a bit but not too much * ctrl+backspace to clear the field
You still see only "batch import" when you should see everything 👍️1 |
|